3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-24 18:10:08 +01:00

Add cycling for wall signs and steps

Dieser Commit ist enthalten in:
Tony 2011-04-03 20:23:38 -05:00
Ursprung a4d77a6c6e
Commit cdc011eb2d

Datei anzeigen

@ -64,7 +64,13 @@ public class BlockDataCyler implements BlockTool {
} else if (type == BlockID.WOODEN_STAIRS || type == BlockID.COBBLESTONE_STAIRS) {
data = (data + 1) % 4;
} else if (type == BlockID.SIGN_POST) {
data = (data + 1) % 16;
data = (data + 1) % 16;
} else if (type == BlockID.WALL_SIGN) {
data = (data + 1) % 4;
} else if (type == BlockID.STEP) {
data = (data + 1) % 3;
} else if (type == BlockID.DOUBLE_STEP) {
data = (data + 1) % 3;
} else if (type == BlockID.FURNACE || type == BlockID.BURNING_FURNACE
|| type == BlockID.DISPENSER) {
data = (data + 1) % 4 + 2;