3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-10 05:20:04 +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

@ -65,6 +65,12 @@ public class BlockDataCyler implements BlockTool {
data = (data + 1) % 4; data = (data + 1) % 4;
} else if (type == BlockID.SIGN_POST) { } 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 } else if (type == BlockID.FURNACE || type == BlockID.BURNING_FURNACE
|| type == BlockID.DISPENSER) { || type == BlockID.DISPENSER) {
data = (data + 1) % 4 + 2; data = (data + 1) % 4 + 2;