mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-02 10:57:11 +00:00
Add wooden buttons to BlockData
This commit is contained in:
parent
87daba207a
commit
eb489bd21d
@ -91,6 +91,7 @@ public final class BlockData {
|
||||
|
||||
case BlockID.LEVER:
|
||||
case BlockID.STONE_BUTTON:
|
||||
case BlockID.WOODEN_BUTTON:
|
||||
int thrown = data & 0x8;
|
||||
int withoutThrown = data & ~0x8;
|
||||
switch (withoutThrown) {
|
||||
@ -265,6 +266,7 @@ public final class BlockData {
|
||||
|
||||
case BlockID.LEVER:
|
||||
case BlockID.STONE_BUTTON:
|
||||
case BlockID.WOODEN_BUTTON:
|
||||
int thrown = data & 0x8;
|
||||
int withoutThrown = data & ~0x8;
|
||||
switch (withoutThrown) {
|
||||
@ -417,6 +419,7 @@ public final class BlockData {
|
||||
|
||||
case BlockID.LEVER:
|
||||
case BlockID.STONE_BUTTON:
|
||||
case BlockID.WOODEN_BUTTON:
|
||||
switch (data & ~0x8) {
|
||||
case 1: return data + flipX;
|
||||
case 2: return data - flipX;
|
||||
|
Loading…
Reference in New Issue
Block a user