Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-10 05:20:04 +01:00
Add wooden buttons to BlockData
Dieser Commit ist enthalten in:
Ursprung
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;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren