3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-10-01 19:30:06 +02:00

fix: offset must be inverted for origin

Dieser Commit ist enthalten in:
Pierre Maurice Schwang 2024-06-16 17:29:53 +02:00
Ursprung 9d7446cec0
Commit b4b427b38e
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 37E613079F3E5BB9

Datei anzeigen

@ -148,7 +148,7 @@ public class FastSchematicReaderV3 implements ClipboardReader {
if (clipboard == null) {
throw new NullPointerException("Failed to read schematic: Clipboard is null");
}
clipboard.setOrigin(this.offset);
clipboard.setOrigin(this.offset.multiply().multiply(-1));
if (clipboard instanceof SimpleClipboard simpleClipboard && !this.offset.equals(BlockVector3.ZERO)) {
clipboard = new BlockArrayClipboard(simpleClipboard, this.offset);
}