mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-01-10 17:57:37 +00:00
When flipping a door upside-down, the top and bottom parts are now swapped.
This commit is contained in:
parent
c8bbcbd133
commit
c6843a2c6d
@ -390,6 +390,7 @@ public final class BlockData {
|
||||
|
||||
case BlockID.WOODEN_DOOR:
|
||||
case BlockID.IRON_DOOR:
|
||||
data ^= flipZ << 3;
|
||||
switch (data & 0x3) {
|
||||
case 0: return data + flipX + 3*flipY;
|
||||
case 1: return data - flipX + flipY;
|
||||
|
Loading…
Reference in New Issue
Block a user