SPIGOT-4728: Fix clicking on custom ender chests

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2019-04-24 22:02:45 +10:00
parent 5fc0b9bc07
commit 5faa894081

View file

@ -167,6 +167,7 @@ public class CraftContainer extends Container {
break; // TODO: This should be an error?
case PLAYER:
case CHEST:
case ENDER_CHEST:
case BARREL:
delegate = new ContainerChest(Containers.GENERIC_9X3, windowId, bottom, top, top.getSize() / 9);
break;