mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Fix trapped chests not displaying (#481)
This commit is contained in:
parent
129e10c920
commit
fcf1949b28
1 changed files with 3 additions and 0 deletions
|
@ -17,6 +17,9 @@ public class BlockEntityUtils {
|
||||||
if (id.contains("piston_head"))
|
if (id.contains("piston_head"))
|
||||||
return "PistonArm";
|
return "PistonArm";
|
||||||
|
|
||||||
|
if (id.contains("trapped_chest"))
|
||||||
|
return "Chest";
|
||||||
|
|
||||||
id = id.toLowerCase()
|
id = id.toLowerCase()
|
||||||
.replace("minecraft:", "")
|
.replace("minecraft:", "")
|
||||||
.replace("_", " ");
|
.replace("_", " ");
|
||||||
|
|
Loading…
Reference in a new issue