mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 03:52:45 +01:00
43702a9e10
By: md_5 <git@md-5.net>
19 lines
600 B
Diff
19 lines
600 B
Diff
--- a/net/minecraft/world/entity/animal/EntityFish.java
|
|
+++ b/net/minecraft/world/entity/animal/EntityFish.java
|
|
@@ -59,7 +59,7 @@
|
|
|
|
@Override
|
|
public boolean removeWhenFarAway(double d0) {
|
|
- return !this.fromBucket() && !this.hasCustomName();
|
|
+ return true; // CraftBukkit
|
|
}
|
|
|
|
@Override
|
|
@@ -81,6 +81,7 @@
|
|
@Override
|
|
public void setFromBucket(boolean flag) {
|
|
this.entityData.set(EntityFish.FROM_BUCKET, flag);
|
|
+ this.setPersistenceRequired(this.isPersistenceRequired()); // CraftBukkit - SPIGOT-4106 update persistence
|
|
}
|
|
|
|
@Override
|