Update to Minecraft 1.13.2

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2018-10-23 06:00:00 +11:00
parent 6fe7587c8f
commit a194267323
47 changed files with 184 additions and 262 deletions

View File

@@ -1,18 +1,18 @@
--- a/net/minecraft/server/EntityFish.java
+++ b/net/minecraft/server/EntityFish.java
@@ -37,7 +37,7 @@
@@ -29,7 +29,7 @@
}
protected boolean isTypeNotPersistent() {
public boolean isTypeNotPersistent() {
- return !this.isFromBucket() && !this.hasCustomName();
+ return true; // CraftBukkit
}
public boolean l() {
@@ -71,6 +71,7 @@
public int dg() {
@@ -47,6 +47,7 @@
public void setFromBucket(boolean flag) {
this.datawatcher.set(EntityFish.b, Boolean.valueOf(flag));
this.datawatcher.set(EntityFish.a, Boolean.valueOf(flag));
+ this.persistent = this.isPersistent(); // CraftBukkit - SPIGOT-4106 update persistence
}