mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-03 17:52:28 +01:00
SPIGOT-4106: Fish from buckets despawn
This commit is contained in:
parent
1c7adf74e4
commit
5b93c39d4b
1 changed files with 10 additions and 0 deletions
10
nms-patches/EntityFish.patch
Normal file
10
nms-patches/EntityFish.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- a/net/minecraft/server/EntityFish.java
|
||||
+++ b/net/minecraft/server/EntityFish.java
|
||||
@@ -67,6 +67,7 @@
|
||||
|
||||
public void s(boolean flag) {
|
||||
this.datawatcher.set(EntityFish.b, Boolean.valueOf(flag));
|
||||
+ this.persistent = !this.isTypeNotPersistent(); // CraftBukkit - SPIGOT-4106 update persistence
|
||||
}
|
||||
|
||||
public void b(NBTTagCompound nbttagcompound) {
|
Loading…
Reference in a new issue