diff --git a/nms-patches/EntityPlayer.patch b/nms-patches/EntityPlayer.patch index bc5758a80f..c9816da09a 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);