SPIGOT-4728: Fix clicking on custom ender chests
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user