From 654b7c21fa050924d7bb94f44aeb4ebf46f660dd Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Mon, 15 May 2017 18:11:48 +1000 Subject: [PATCH] SPIGOT-3243: Remove recipe reset on world change / death By: md_5 --- paper-server/nms-patches/EntityPlayer.patch | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/paper-server/nms-patches/EntityPlayer.patch b/paper-server/nms-patches/EntityPlayer.patch index 5b01aa9c8d..08574ea9a9 100644 --- a/paper-server/nms-patches/EntityPlayer.patch +++ b/paper-server/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 @@ }