diff options
author | md_5 <git@md-5.net> | 2017-05-15 18:11:48 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2017-05-15 18:11:48 +1000 |
commit | 68b0515b514b03a58a715e66b7a83ca1a47dcf09 (patch) | |
tree | cd752bcd5b9ee3df29a94a9b2976f8ca9294398f /nms-patches/EntityPlayer.patch | |
parent | 913c5a61f75648b725f1f0bd4fce60e29a5a6984 (diff) | |
download | craftbukkit-68b0515b514b03a58a715e66b7a83ca1a47dcf09.tar craftbukkit-68b0515b514b03a58a715e66b7a83ca1a47dcf09.tar.gz craftbukkit-68b0515b514b03a58a715e66b7a83ca1a47dcf09.tar.lz craftbukkit-68b0515b514b03a58a715e66b7a83ca1a47dcf09.tar.xz craftbukkit-68b0515b514b03a58a715e66b7a83ca1a47dcf09.zip |
SPIGOT-3243: Remove recipe reset on world change / death
Diffstat (limited to 'nms-patches/EntityPlayer.patch')
-rw-r--r-- | nms-patches/EntityPlayer.patch | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/nms-patches/EntityPlayer.patch b/nms-patches/EntityPlayer.patch index 5b01aa9c..08574ea9 100644 --- a/nms-patches/EntityPlayer.patch +++ b/nms-patches/EntityPlayer.patch @@ -516,6 +516,15 @@ public void a(IChatBaseComponent ichatbasecomponent, boolean flag) { this.playerConnection.sendPacket(new PacketPlayOutChat(ichatbasecomponent, flag ? ChatMessageType.GAME_INFO : ChatMessageType.CHAT)); +@@ -880,7 +1071,7 @@ + this.lastSentExp = -1; + this.lastHealthSent = -1.0F; + this.ci = -1; +- this.cs.a((RecipeBook) entityplayer.cs); ++ // this.cs.a((RecipeBook) entityplayer.cs); // CraftBukkit + this.removeQueue.addAll(entityplayer.removeQueue); + this.cr = entityplayer.cr; + this.cw = entityplayer.cw; @@ -939,6 +1130,18 @@ } |