mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-23 16:44:03 +00:00
Much better hinge handling
This commit is contained in:
@@ -168,8 +168,7 @@ public class BlockTransformExtent extends ResettableExtent {
|
|||||||
if (key == PropertyKey.SHAPE) {
|
if (key == PropertyKey.SHAPE) {
|
||||||
return adapt(combine(EAST, WEST), combine(NORTH, SOUTH));
|
return adapt(combine(EAST, WEST), combine(NORTH, SOUTH));
|
||||||
} else if (key == PropertyKey.HINGE) {
|
} else if (key == PropertyKey.HINGE) {
|
||||||
//TODO: hinges are slightly funky still
|
return adapt(combine(NORTHEAST, NORTHWEST, SOUTHEAST, SOUTHWEST), combine(NORTHEAST, NORTHWEST, SOUTHEAST, SOUTHWEST));
|
||||||
return adapt(combine(NORTH, EAST), combine(SOUTH, WEST));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (key == PropertyKey.ROTATION) {
|
if (key == PropertyKey.ROTATION) {
|
||||||
|
Reference in New Issue
Block a user