mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
SPIGOT-3243: Remove recipe reset on world change / death
By: md_5 <git@md-5.net>
This commit is contained in:
parent
036d5985ab
commit
654b7c21fa
1 changed files with 9 additions and 0 deletions
|
@ -516,6 +516,15 @@
|
||||||
|
|
||||||
public void a(IChatBaseComponent ichatbasecomponent, boolean flag) {
|
public void a(IChatBaseComponent ichatbasecomponent, boolean flag) {
|
||||||
this.playerConnection.sendPacket(new PacketPlayOutChat(ichatbasecomponent, flag ? ChatMessageType.GAME_INFO : ChatMessageType.CHAT));
|
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 @@
|
@@ -939,6 +1130,18 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue