mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-12-21 04:49:51 +08:00
Added data support for silverfish blocks.
This commit is contained in:
parent
ece3934994
commit
f7c5782fa9
@ -432,6 +432,7 @@ public static boolean canPassThrough(int id) {
|
||||
usesData.add(BlockID.REDSTONE_REPEATER_OFF);
|
||||
usesData.add(BlockID.REDSTONE_REPEATER_ON);
|
||||
usesData.add(BlockID.TRAP_DOOR);
|
||||
usesData.add(BlockID.SILVERFISH_BLOCK);
|
||||
usesData.add(BlockID.STONE_BRICK);
|
||||
usesData.add(BlockID.RED_MUSHROOM_CAP);
|
||||
usesData.add(BlockID.BROWN_MUSHROOM_CAP);
|
||||
|
@ -493,6 +493,7 @@ public static int cycle(int type, int data, int increment) {
|
||||
case BlockID.LOG:
|
||||
case BlockID.LONG_GRASS:
|
||||
case BlockID.STONE_BRICK:
|
||||
case BlockID.SILVERFISH_BLOCK:
|
||||
return (data + increment) % 3;
|
||||
|
||||
case BlockID.TORCH:
|
||||
|
Loading…
Reference in New Issue
Block a user