From 14df075f80a6f56f420b50f3479f1ba67f365776 Mon Sep 17 00:00:00 2001 From: md_5 Date: Wed, 24 Apr 2019 22:02:45 +1000 Subject: [PATCH] SPIGOT-4728: Fix clicking on custom ender chests --- .../java/org/bukkit/craftbukkit/inventory/CraftContainer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftContainer.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftContainer.java index 088b3daa9a..ae119756be 100644 --- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftContainer.java +++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftContainer.java @@ -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;