summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nms-patches/EntityFish.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/nms-patches/EntityFish.patch b/nms-patches/EntityFish.patch
new file mode 100644
index 00000000..9773a887
--- /dev/null
+++ b/nms-patches/EntityFish.patch
@@ -0,0 +1,10 @@
+--- 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) {