geforkt von Mirrors/FastAsyncWorldEdit
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.
Dieser Commit ist enthalten in:
Ursprung
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren