From 80dd971b5240b40838dd10c389d311490069eaa5 Mon Sep 17 00:00:00 2001 From: md_5 Date: Fri, 27 Jan 2017 11:42:21 +1100 Subject: Make tile activeContainer assignment consistent. --- nms-patches/EntityPlayer.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nms-patches/EntityPlayer.patch') 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); -- cgit v1.2.3