mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-12-27 05:00:08 +08:00
Cleanup BlockType and added a missing block
This commit is contained in:
parent
afa8e873e9
commit
9371202a12
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user