mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2025-01-12 12:25:03 +08:00
Adjusted some BlockType flags.
Beds, glass panes and fence gates should no longer be placed last Fence gates can no longer be passed through, since they can't, if they're closed.
This commit is contained in:
parent
7798319896
commit
633145d796
@ -275,7 +275,6 @@ public String getName() {
|
||||
private static final Set<Integer> shouldPlaceLast = new HashSet<Integer>();
|
||||
static {
|
||||
shouldPlaceLast.add(BlockID.SAPLING);
|
||||
shouldPlaceLast.add(BlockID.BED);
|
||||
shouldPlaceLast.add(BlockID.POWERED_RAIL);
|
||||
shouldPlaceLast.add(BlockID.DETECTOR_RAIL);
|
||||
shouldPlaceLast.add(BlockID.LONG_GRASS);
|
||||
@ -308,9 +307,7 @@ public String getName() {
|
||||
shouldPlaceLast.add(BlockID.REDSTONE_REPEATER_OFF);
|
||||
shouldPlaceLast.add(BlockID.REDSTONE_REPEATER_ON);
|
||||
shouldPlaceLast.add(BlockID.TRAP_DOOR);
|
||||
shouldPlaceLast.add(BlockID.GLASS_PANE);
|
||||
shouldPlaceLast.add(BlockID.VINE);
|
||||
shouldPlaceLast.add(BlockID.FENCE_GATE);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -369,7 +366,6 @@ public boolean shouldPlaceLast() {
|
||||
canPassThrough.add(BlockID.PORTAL);
|
||||
canPassThrough.add(BlockID.REDSTONE_REPEATER_OFF);
|
||||
canPassThrough.add(BlockID.REDSTONE_REPEATER_ON);
|
||||
canPassThrough.add(BlockID.FENCE_GATE);
|
||||
canPassThrough.add(BlockID.VINE);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user