Trim comments

This commit is contained in:
KAMKEEL committed 2026-08-11 11:32:01 -04:00
1 parent f175e3fb82
commit 98c94bd406
32 files changed
+13 -137

No files matched your search

@@ -25,10 +25,7 @@ public class VersionCompatibility {
compound.setInteger("AimType", !aimShot ? 0 : 1);
}
// Fire projectiles used to ignite unconditionally. The ignite check now also requires
// pBurnItem, which reads false when the key is absent, so restore it for anything
// saved before the flag existed. Shipped alongside revision 23, so anything already
// at 23 was written by a build that had the flag.
// Restore burning on Fire projectiles saved before pBurnItem existed
if (compound.hasKey("pEffect") && !compound.hasKey("pBurnItem")) {
if (EnumPotionType.fromOrdinal(compound.getInteger("pEffect")) == EnumPotionType.Fire) {
compound.setBoolean("pBurnItem", true);