Do not reference LOCKED_CHEST anymore (minimal future compatibility).

This commit is contained in:
asofold 2013-11-16 16:13:33 +01:00
parent 6f05b4e322
commit 9e1c3e392d

View File

@ -742,10 +742,10 @@ public class BlockProperties {
Material.AIR, Material.ENDER_PORTAL, Material.ENDER_PORTAL_FRAME,
Material.PORTAL, Material.LAVA, Material.WATER, Material.BEDROCK,
Material.STATIONARY_LAVA, Material.STATIONARY_WATER,
Material.LOCKED_CHEST,
}){
blocks[mat.getId()] = indestructibleType;
}
blocks[95] = indestructibleType; // Locked chest (prevent crash with 1.7).
}
public static void dumpBlocks(boolean all) {