mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-02 11:22:01 +01:00
SPIGOT-4728: Fix clicking on custom ender chests
By: md_5 <git@md-5.net>
This commit is contained in:
parent
5fc0b9bc07
commit
5faa894081
@ -167,6 +167,7 @@ public class CraftContainer extends Container {
|
|||||||
break; // TODO: This should be an error?
|
break; // TODO: This should be an error?
|
||||||
case PLAYER:
|
case PLAYER:
|
||||||
case CHEST:
|
case CHEST:
|
||||||
|
case ENDER_CHEST:
|
||||||
case BARREL:
|
case BARREL:
|
||||||
delegate = new ContainerChest(Containers.GENERIC_9X3, windowId, bottom, top, top.getSize() / 9);
|
delegate = new ContainerChest(Containers.GENERIC_9X3, windowId, bottom, top, top.getSize() / 9);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user