diff options
Diffstat (limited to 'patches/server/0226-Fix-NBT-type-issues.patch')
-rw-r--r-- | patches/server/0226-Fix-NBT-type-issues.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0226-Fix-NBT-type-issues.patch b/patches/server/0226-Fix-NBT-type-issues.patch index 58e82e71e9..6a16b60735 100644 --- a/patches/server/0226-Fix-NBT-type-issues.patch +++ b/patches/server/0226-Fix-NBT-type-issues.patch @@ -8,10 +8,10 @@ Addresses two issues: - Allay duplication cooldown is saved and exposed as a long, but loaded as an int diff --git a/src/main/java/net/minecraft/world/entity/ExperienceOrb.java b/src/main/java/net/minecraft/world/entity/ExperienceOrb.java -index 0f55715f2d97ab09746a51f9d39134b513778fdd..36d5d1736bf826f3abc756277de431c94cabb744 100644 +index 97524656b8af7b80aeb7845575c704585dade725..a9c30fb4cfe4ff7bb27d498218373c572031fab8 100644 --- a/src/main/java/net/minecraft/world/entity/ExperienceOrb.java +++ b/src/main/java/net/minecraft/world/entity/ExperienceOrb.java -@@ -295,7 +295,7 @@ public class ExperienceOrb extends Entity { +@@ -296,7 +296,7 @@ public class ExperienceOrb extends Entity { public void addAdditionalSaveData(CompoundTag nbt) { nbt.putShort("Health", (short) this.health); nbt.putShort("Age", (short) this.age); @@ -20,7 +20,7 @@ index 0f55715f2d97ab09746a51f9d39134b513778fdd..36d5d1736bf826f3abc756277de431c9 nbt.putInt("Count", this.count); this.savePaperNBT(nbt); // Paper } -@@ -304,7 +304,7 @@ public class ExperienceOrb extends Entity { +@@ -305,7 +305,7 @@ public class ExperienceOrb extends Entity { public void readAdditionalSaveData(CompoundTag nbt) { this.health = nbt.getShort("Health"); this.age = nbt.getShort("Age"); |