mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 17:57:38 +00: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 enum BlockType {
|
|||||||
private static final Set<Integer> shouldPlaceLast = new HashSet<Integer>();
|
private static final Set<Integer> shouldPlaceLast = new HashSet<Integer>();
|
||||||
static {
|
static {
|
||||||
shouldPlaceLast.add(BlockID.SAPLING);
|
shouldPlaceLast.add(BlockID.SAPLING);
|
||||||
shouldPlaceLast.add(BlockID.BED);
|
|
||||||
shouldPlaceLast.add(BlockID.POWERED_RAIL);
|
shouldPlaceLast.add(BlockID.POWERED_RAIL);
|
||||||
shouldPlaceLast.add(BlockID.DETECTOR_RAIL);
|
shouldPlaceLast.add(BlockID.DETECTOR_RAIL);
|
||||||
shouldPlaceLast.add(BlockID.LONG_GRASS);
|
shouldPlaceLast.add(BlockID.LONG_GRASS);
|
||||||
@ -308,9 +307,7 @@ public enum BlockType {
|
|||||||
shouldPlaceLast.add(BlockID.REDSTONE_REPEATER_OFF);
|
shouldPlaceLast.add(BlockID.REDSTONE_REPEATER_OFF);
|
||||||
shouldPlaceLast.add(BlockID.REDSTONE_REPEATER_ON);
|
shouldPlaceLast.add(BlockID.REDSTONE_REPEATER_ON);
|
||||||
shouldPlaceLast.add(BlockID.TRAP_DOOR);
|
shouldPlaceLast.add(BlockID.TRAP_DOOR);
|
||||||
shouldPlaceLast.add(BlockID.GLASS_PANE);
|
|
||||||
shouldPlaceLast.add(BlockID.VINE);
|
shouldPlaceLast.add(BlockID.VINE);
|
||||||
shouldPlaceLast.add(BlockID.FENCE_GATE);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -369,7 +366,6 @@ public enum BlockType {
|
|||||||
canPassThrough.add(BlockID.PORTAL);
|
canPassThrough.add(BlockID.PORTAL);
|
||||||
canPassThrough.add(BlockID.REDSTONE_REPEATER_OFF);
|
canPassThrough.add(BlockID.REDSTONE_REPEATER_OFF);
|
||||||
canPassThrough.add(BlockID.REDSTONE_REPEATER_ON);
|
canPassThrough.add(BlockID.REDSTONE_REPEATER_ON);
|
||||||
canPassThrough.add(BlockID.FENCE_GATE);
|
|
||||||
canPassThrough.add(BlockID.VINE);
|
canPassThrough.add(BlockID.VINE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user