Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-26 02:50:06 +01:00
Added support for rotating wooden logs
Dieser Commit ist enthalten in:
Ursprung
36fa04b739
Commit
b2ff0fb2a2
@ -143,6 +143,10 @@ public final class BlockData {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case BlockID.LOG:
|
||||||
|
if (data >= 4 && data <= 11) data ^= 0xc;
|
||||||
|
break;
|
||||||
|
|
||||||
case BlockID.REDSTONE_REPEATER_OFF:
|
case BlockID.REDSTONE_REPEATER_OFF:
|
||||||
case BlockID.REDSTONE_REPEATER_ON:
|
case BlockID.REDSTONE_REPEATER_ON:
|
||||||
int dir = data & 0x03;
|
int dir = data & 0x03;
|
||||||
@ -313,6 +317,10 @@ public final class BlockData {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case BlockID.LOG:
|
||||||
|
if (data >= 4 && data <= 11) data ^= 0xc;
|
||||||
|
break;
|
||||||
|
|
||||||
case BlockID.REDSTONE_REPEATER_OFF:
|
case BlockID.REDSTONE_REPEATER_OFF:
|
||||||
case BlockID.REDSTONE_REPEATER_ON:
|
case BlockID.REDSTONE_REPEATER_ON:
|
||||||
int dir = data & 0x03;
|
int dir = data & 0x03;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren