3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-18 04:20:08 +01:00

Make tile activeContainer assignment consistent.

Dieser Commit ist enthalten in:
md_5 2017-01-27 11:42:21 +11:00
Ursprung 16b5116c7c
Commit 80dd971b52

Datei anzeigen

@ -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);