mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Added support for rotating wooden logs
This commit is contained in:
parent
36fa04b739
commit
b2ff0fb2a2
@ -143,6 +143,10 @@ public final class BlockData {
|
||||
}
|
||||
break;
|
||||
|
||||
case BlockID.LOG:
|
||||
if (data >= 4 && data <= 11) data ^= 0xc;
|
||||
break;
|
||||
|
||||
case BlockID.REDSTONE_REPEATER_OFF:
|
||||
case BlockID.REDSTONE_REPEATER_ON:
|
||||
int dir = data & 0x03;
|
||||
@ -313,6 +317,10 @@ public final class BlockData {
|
||||
}
|
||||
break;
|
||||
|
||||
case BlockID.LOG:
|
||||
if (data >= 4 && data <= 11) data ^= 0xc;
|
||||
break;
|
||||
|
||||
case BlockID.REDSTONE_REPEATER_OFF:
|
||||
case BlockID.REDSTONE_REPEATER_ON:
|
||||
int dir = data & 0x03;
|
||||
|
Loading…
Reference in New Issue
Block a user