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