From 1e49f59001202bbd71c69481c246469e998b1113 Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Wed, 21 Jul 2021 20:00:39 +0100 Subject: [PATCH] Much better hinge handling --- .../sk89q/worldedit/extent/transform/BlockTransformExtent.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/extent/transform/BlockTransformExtent.java b/worldedit-core/src/main/java/com/sk89q/worldedit/extent/transform/BlockTransformExtent.java index 53bf5cacb..6b50876fc 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/extent/transform/BlockTransformExtent.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/extent/transform/BlockTransformExtent.java @@ -168,8 +168,7 @@ public class BlockTransformExtent extends ResettableExtent { if (key == PropertyKey.SHAPE) { return adapt(combine(EAST, WEST), combine(NORTH, SOUTH)); } else if (key == PropertyKey.HINGE) { - //TODO: hinges are slightly funky still - return adapt(combine(NORTH, EAST), combine(SOUTH, WEST)); + return adapt(combine(NORTHEAST, NORTHWEST, SOUTHEAST, SOUTHWEST), combine(NORTHEAST, NORTHWEST, SOUTHEAST, SOUTHWEST)); } } if (key == PropertyKey.ROTATION) {