geforkt von Mirrors/FastAsyncWorldEdit
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