mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-11 17:31:06 +01:00
10 lines
386 B
Diff
10 lines
386 B
Diff
--- a/net/minecraft/server/EntityFish.java
|
|
+++ b/net/minecraft/server/EntityFish.java
|
|
@@ -71,6 +71,7 @@
|
|
|
|
public void setFromBucket(boolean flag) {
|
|
this.datawatcher.set(EntityFish.b, Boolean.valueOf(flag));
|
|
+ this.persistent = !this.isTypeNotPersistent(); // CraftBukkit - SPIGOT-4106 update persistence
|
|
}
|
|
|
|
public void b(NBTTagCompound nbttagcompound) {
|