3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-17 20:10:10 +01:00
Paper/nms-patches/EntityFish.patch

11 Zeilen
374 B
Diff

--- a/net/minecraft/server/EntityFish.java
+++ b/net/minecraft/server/EntityFish.java
@@ -67,6 +67,7 @@
public void s(boolean flag) {
this.datawatcher.set(EntityFish.b, Boolean.valueOf(flag));
+ this.persistent = !this.isTypeNotPersistent(); // CraftBukkit - SPIGOT-4106 update persistence
}
public void b(NBTTagCompound nbttagcompound) {