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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

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