1
0
mirror of https://github.com/GeyserMC/Geyser.git synced 2026-01-06 15:41:50 +00:00

Fix trapped chests not displaying (#481)

This commit is contained in:
rtm516
2020-05-05 01:39:44 +01:00
committed by GitHub
parent 129e10c920
commit fcf1949b28

View File

@@ -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("_", " ");