summaryrefslogtreecommitdiffstats
path: root/nms-patches
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2017-01-27 11:42:21 +1100
committermd_5 <git@md-5.net>2017-01-27 11:42:21 +1100
commit80dd971b5240b40838dd10c389d311490069eaa5 (patch)
tree35707d2dc0cc0f10e9932f7b44bd1b416089c9ec /nms-patches
parent16b5116c7c528a99a4270324fa05133852ff6bf4 (diff)
downloadcraftbukkit-80dd971b5240b40838dd10c389d311490069eaa5.tar
craftbukkit-80dd971b5240b40838dd10c389d311490069eaa5.tar.gz
craftbukkit-80dd971b5240b40838dd10c389d311490069eaa5.tar.lz
craftbukkit-80dd971b5240b40838dd10c389d311490069eaa5.tar.xz
craftbukkit-80dd971b5240b40838dd10c389d311490069eaa5.zip
Make tile activeContainer assignment consistent.
Diffstat (limited to 'nms-patches')
-rw-r--r--nms-patches/EntityPlayer.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/EntityPlayer.patch b/nms-patches/EntityPlayer.patch
index bc5758a8..c9816da0 100644
--- a/nms-patches/EntityPlayer.patch
+++ b/nms-patches/EntityPlayer.patch
@@ -304,9 +304,9 @@
+ return;
+ }
this.nextContainerCounter();
++ this.activeContainer = container;
this.playerConnection.sendPacket(new PacketPlayOutOpenWindow(this.containerCounter, itileentitycontainer.getContainerName(), itileentitycontainer.getScoreboardDisplayName()));
- this.activeContainer = itileentitycontainer.createContainer(this.inventory, this);
-+ this.activeContainer = container;
+ // CraftBukkit end
this.activeContainer.windowId = this.containerCounter;
this.activeContainer.addSlotListener(this);