This commit is contained in:
zeng-github01 committed 2026-03-29 10:25:02 +08:00
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);
}
}