SPIGOT-4728: Fix clicking on custom ender chests
This commit is contained in:
parent
331c43929e
commit
14df075f80
@ -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…
x
Reference in New Issue
Block a user