mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-24 01:06:01 +01:00
Make tile activeContainer assignment consistent.
By: md_5 <git@md-5.net>
This commit is contained in:
parent
49758a0994
commit
4166ac5145
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue