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

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2017-05-15 18:11:48 +10:00
parent 036d5985ab
commit 654b7c21fa

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