3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-18 04:20:08 +01:00
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) {