From 68b0515b514b03a58a715e66b7a83ca1a47dcf09 Mon Sep 17 00:00:00 2001 From: md_5 Date: Mon, 15 May 2017 18:11:48 +1000 Subject: SPIGOT-3243: Remove recipe reset on world change / death --- nms-patches/EntityPlayer.patch | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'nms-patches/EntityPlayer.patch') 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 @@ } -- cgit v1.2.3