mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-12-26 10:28:05 +01:00
Do not reference LOCKED_CHEST anymore (minimal future compatibility).
This commit is contained in:
parent
6f05b4e322
commit
9e1c3e392d
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user