2021-03-15 23:00:00 +01:00
|
|
|
--- a/net/minecraft/world/entity/animal/EntityFish.java
|
|
|
|
+++ b/net/minecraft/world/entity/animal/EntityFish.java
|
2021-11-21 23:00:00 +01:00
|
|
|
@@ -59,7 +59,7 @@
|
2018-10-07 01:08:58 +02:00
|
|
|
|
2019-04-23 04:00:00 +02:00
|
|
|
@Override
|
2021-11-21 23:00:00 +01:00
|
|
|
public boolean removeWhenFarAway(double d0) {
|
|
|
|
- return !this.fromBucket() && !this.hasCustomName();
|
2018-10-07 01:08:58 +02:00
|
|
|
+ return true; // CraftBukkit
|
|
|
|
}
|
|
|
|
|
2019-04-23 04:00:00 +02:00
|
|
|
@Override
|
2021-11-21 23:00:00 +01:00
|
|
|
@@ -81,6 +81,7 @@
|
2021-06-11 07:00:00 +02:00
|
|
|
@Override
|
2018-08-26 04:00:00 +02:00
|
|
|
public void setFromBucket(boolean flag) {
|
2021-06-11 07:00:00 +02:00
|
|
|
this.entityData.set(EntityFish.FROM_BUCKET, flag);
|
2021-11-21 23:00:00 +01:00
|
|
|
+ this.setPersistenceRequired(this.isPersistenceRequired()); // CraftBukkit - SPIGOT-4106 update persistence
|
2018-07-23 02:01:46 +02:00
|
|
|
}
|
|
|
|
|
2019-04-23 04:00:00 +02:00
|
|
|
@Override
|