mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-26 12:36:07 +01:00
20 lines
546 B
Diff
20 lines
546 B
Diff
--- a/net/minecraft/server/EntityFish.java
|
|
+++ b/net/minecraft/server/EntityFish.java
|
|
@@ -32,7 +32,7 @@
|
|
|
|
@Override
|
|
public boolean isTypeNotPersistent(double d0) {
|
|
- return !this.isFromBucket() && !this.hasCustomName();
|
|
+ return true; // CraftBukkit
|
|
}
|
|
|
|
@Override
|
|
@@ -52,6 +52,7 @@
|
|
|
|
public void setFromBucket(boolean flag) {
|
|
this.datawatcher.set(EntityFish.FROM_BUCKET, flag);
|
|
+ this.persistent = this.isPersistent(); // CraftBukkit - SPIGOT-4106 update persistence
|
|
}
|
|
|
|
@Override
|