Cleanup BlockType and added a missing block

This commit is contained in:
Wizjany 2011-09-14 20:25:22 -04:00
parent afa8e873e9
commit 9371202a12

View File

@ -422,9 +422,9 @@ public static boolean shouldPlaceLast(int id) {
|| id == BlockID.REDSTONE_REPEATER_OFF || id == BlockID.REDSTONE_REPEATER_OFF
|| id == BlockID.REDSTONE_REPEATER_ON || id == BlockID.REDSTONE_REPEATER_ON
|| id == BlockID.TRAP_DOOR || id == BlockID.TRAP_DOOR
|| id == BlockID.FENCE_GATE
|| id == BlockID.GLASS_PANE || id == BlockID.GLASS_PANE
|| id == BlockID.VINE; || id == BlockID.VINE
|| id == BlockID.FENCE_GATE;
} }
/** /**
@ -524,13 +524,15 @@ public static boolean usesData(int id) {
|| id == BlockID.REDSTONE_REPEATER_OFF || id == BlockID.REDSTONE_REPEATER_OFF
|| id == BlockID.REDSTONE_REPEATER_ON || id == BlockID.REDSTONE_REPEATER_ON
|| id == BlockID.TRAP_DOOR || id == BlockID.TRAP_DOOR
|| id == BlockID.BRICK_STAIRS || id == BlockID.STONE_BRICK
|| id == BlockID.STONE_BRICK_STAIRS
|| id == BlockID.VINE
|| id == BlockID.RED_MUSHROOM_CAP || id == BlockID.RED_MUSHROOM_CAP
|| id == BlockID.BROWN_MUSHROOM_CAP || id == BlockID.BROWN_MUSHROOM_CAP
|| id == BlockID.PUMPKIN_STEM || id == BlockID.PUMPKIN_STEM
|| id == BlockID.MELON_STEM; || id == BlockID.MELON_STEM
|| id == BlockID.VINE
|| id == BlockID.FENCE_GATE
|| id == BlockID.BRICK_STAIRS
|| id == BlockID.STONE_BRICK_STAIRS;
} }
/** /**