mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-13 21:54:08 +00:00
Fixes
This commit is contained in:
1 parent
07a914272a
commit
948eb91b42
1 file changed
+1
-1
@@ -54,7 +54,7 @@ public class VersionCompatibility {
|
||||
if (compound.hasKey("pEffect")) {
|
||||
int effect = compound.getInteger("pEffect");
|
||||
EnumPotionType enumPotionType = EnumPotionType.fromOrdinal(effect);
|
||||
if (enumPotionType == EnumPotionType.Fire) {
|
||||
if (!compound.hasKey("pBurnItem") && enumPotionType == EnumPotionType.Fire) {
|
||||
compound.setBoolean("pBurnItem", true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user