2018-07-23 02:01:46 +02:00
|
|
|
--- a/net/minecraft/server/EntityFish.java
|
|
|
|
+++ b/net/minecraft/server/EntityFish.java
|
2019-04-23 04:00:00 +02:00
|
|
|
@@ -36,7 +36,7 @@
|
2018-10-07 01:08:58 +02:00
|
|
|
|
2019-04-23 04:00:00 +02:00
|
|
|
@Override
|
|
|
|
public boolean isTypeNotPersistent(double d0) {
|
2018-10-07 01:08:58 +02:00
|
|
|
- return !this.isFromBucket() && !this.hasCustomName();
|
|
|
|
+ return true; // CraftBukkit
|
|
|
|
}
|
|
|
|
|
2019-04-23 04:00:00 +02:00
|
|
|
@Override
|
|
|
|
@@ -56,6 +56,7 @@
|
2018-07-23 02:01:46 +02:00
|
|
|
|
2018-08-26 04:00:00 +02:00
|
|
|
public void setFromBucket(boolean flag) {
|
2019-04-23 04:00:00 +02:00
|
|
|
this.datawatcher.set(EntityFish.FROM_BUCKET, flag);
|
2018-10-07 01:08:58 +02:00
|
|
|
+ this.persistent = this.isPersistent(); // CraftBukkit - SPIGOT-4106 update persistence
|
2018-07-23 02:01:46 +02:00
|
|
|
}
|
|
|
|
|
2019-04-23 04:00:00 +02:00
|
|
|
@Override
|