mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-27 04:55:47 +01:00
Make tile activeContainer assignment consistent.
This commit is contained in:
parent
16b5116c7c
commit
80dd971b52
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user