Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-10-02 03:40:06 +02:00
fix: offset must be inverted for origin
Dieser Commit ist enthalten in:
Ursprung
9d7446cec0
Commit
b4b427b38e
@ -148,7 +148,7 @@ public class FastSchematicReaderV3 implements ClipboardReader {
|
|||||||
if (clipboard == null) {
|
if (clipboard == null) {
|
||||||
throw new NullPointerException("Failed to read schematic: Clipboard is 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)) {
|
if (clipboard instanceof SimpleClipboard simpleClipboard && !this.offset.equals(BlockVector3.ZERO)) {
|
||||||
clipboard = new BlockArrayClipboard(simpleClipboard, this.offset);
|
clipboard = new BlockArrayClipboard(simpleClipboard, this.offset);
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren