3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-03 01:50:07 +01:00
TODO: fix door hinge placement on rotate/flip sometimes
Dieser Commit ist enthalten in:
dordsor21 2021-07-20 20:49:13 +01:00
Ursprung ca1744aa97
Commit 5f8addbb5b
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 1E53E88969FFCF0B

Datei anzeigen

@ -165,7 +165,12 @@ public class BlockTransformExtent extends ResettableExtent {
return adapt(UP, DOWN); return adapt(UP, DOWN);
} }
if (values.contains("left")) { if (values.contains("left")) {
return adapt(0L, combine(EAST, WEST), combine(NORTH, SOUTH)); 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));
}
} }
if (key == PropertyKey.ROTATION) { if (key == PropertyKey.ROTATION) {
List<Direction> directions = new ArrayList<>(); List<Direction> directions = new ArrayList<>();