Paper/paper-server/nms-patches/EntityFish.patch
CraftBukkit/Spigot 9633bcece9 SPIGOT-4106: Fish from buckets despawn
By: md_5 <git@md-5.net>
2018-07-23 10:01:46 +10:00

11 lines
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) {