mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-24 10:17:39 +00:00
Add cycling for wall signs and steps
This commit is contained in:
parent
a4d77a6c6e
commit
cdc011eb2d
@ -65,6 +65,12 @@ public class BlockDataCyler implements BlockTool {
|
|||||||
data = (data + 1) % 4;
|
data = (data + 1) % 4;
|
||||||
} else if (type == BlockID.SIGN_POST) {
|
} else if (type == BlockID.SIGN_POST) {
|
||||||
data = (data + 1) % 16;
|
data = (data + 1) % 16;
|
||||||
|
} else if (type == BlockID.WALL_SIGN) {
|
||||||
|
data = (data + 1) % 4;
|
||||||
|
} else if (type == BlockID.STEP) {
|
||||||
|
data = (data + 1) % 3;
|
||||||
|
} else if (type == BlockID.DOUBLE_STEP) {
|
||||||
|
data = (data + 1) % 3;
|
||||||
} else if (type == BlockID.FURNACE || type == BlockID.BURNING_FURNACE
|
} else if (type == BlockID.FURNACE || type == BlockID.BURNING_FURNACE
|
||||||
|| type == BlockID.DISPENSER) {
|
|| type == BlockID.DISPENSER) {
|
||||||
data = (data + 1) % 4 + 2;
|
data = (data + 1) % 4 + 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user