Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-16 04:50:05 +01:00
20 Zeilen
564 B
Diff
20 Zeilen
564 B
Diff
--- a/net/minecraft/server/EntityFish.java
|
|
+++ b/net/minecraft/server/EntityFish.java
|
|
@@ -29,7 +29,7 @@
|
|
}
|
|
|
|
public boolean isTypeNotPersistent() {
|
|
- return !this.isFromBucket() && !this.hasCustomName();
|
|
+ return true; // CraftBukkit
|
|
}
|
|
|
|
public int dg() {
|
|
@@ -47,6 +47,7 @@
|
|
|
|
public void setFromBucket(boolean flag) {
|
|
this.datawatcher.set(EntityFish.a, flag);
|
|
+ this.persistent = this.isPersistent(); // CraftBukkit - SPIGOT-4106 update persistence
|
|
}
|
|
|
|
public void b(NBTTagCompound nbttagcompound) {
|