SPIGOT-3243: Remove recipe reset on world change / death

This commit is contained in:
md_5 2017-05-15 18:11:48 +10:00
parent 913c5a61f7
commit 68b0515b51

View File

@ -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 @@
}