Paper/nms-patches/EntityFish.patch

11 Zeilen
386 B
Diff

2018-07-23 02:01:46 +02:00
--- a/net/minecraft/server/EntityFish.java
+++ b/net/minecraft/server/EntityFish.java
2018-08-26 04:00:00 +02:00
@@ -71,6 +71,7 @@
2018-07-23 02:01:46 +02:00
2018-08-26 04:00:00 +02:00
public void setFromBucket(boolean flag) {
2018-07-23 02:01:46 +02:00
this.datawatcher.set(EntityFish.b, Boolean.valueOf(flag));
+ this.persistent = !this.isTypeNotPersistent(); // CraftBukkit - SPIGOT-4106 update persistence
}
public void b(NBTTagCompound nbttagcompound) {