From fcf1949b28ab023e29c8f5714657e3e8d6a2eb86 Mon Sep 17 00:00:00 2001 From: rtm516 Date: Tue, 5 May 2020 01:39:44 +0100 Subject: [PATCH] Fix trapped chests not displaying (#481) --- .../java/org/geysermc/connector/utils/BlockEntityUtils.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/connector/src/main/java/org/geysermc/connector/utils/BlockEntityUtils.java b/connector/src/main/java/org/geysermc/connector/utils/BlockEntityUtils.java index 2c04c205..f79ffd5f 100644 --- a/connector/src/main/java/org/geysermc/connector/utils/BlockEntityUtils.java +++ b/connector/src/main/java/org/geysermc/connector/utils/BlockEntityUtils.java @@ -17,6 +17,9 @@ public class BlockEntityUtils { if (id.contains("piston_head")) return "PistonArm"; + if (id.contains("trapped_chest")) + return "Chest"; + id = id.toLowerCase() .replace("minecraft:", "") .replace("_", " ");