Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 18:40:05 +01:00
Fix schematic offset when loaded to clipboard
Dieser Commit ist enthalten in:
Ursprung
56999fd1e0
Commit
848eac8623
@ -237,7 +237,10 @@ public class FastSchematicReader extends NBTSchematicReader {
|
||||
inputStream.readNamedTagLazy(root);
|
||||
|
||||
if (version != 1 && version != 2) {
|
||||
throw new IOException("This schematic version is not supported; Version: " + version + ", DataVersion: " + dataVersion + ". It's very likely your schematic has an invalid file extension, if the schematic has been created on a version lower than 1.13.2, the extension MUST be `.schematic`, elsewise the schematic can't be read properly.");
|
||||
throw new IOException("This schematic version is not supported; Version: " + version
|
||||
+ ", DataVersion: " + dataVersion + ". It's very likely your schematic has an invalid file extension," +
|
||||
" if the schematic has been created on a version lower than 1.13.2, the extension MUST be `.schematic`," +
|
||||
" elsewise the schematic can't be read properly.");
|
||||
}
|
||||
|
||||
if (blocks != null) {
|
||||
|
@ -95,7 +95,7 @@ public class BlockArrayClipboard implements Clipboard {
|
||||
shifted.shift(offset);
|
||||
this.region = shifted;
|
||||
this.offset = shifted.getMinimumPoint();
|
||||
this.origin = parent.getOrigin();
|
||||
this.origin = parent.getOrigin().add(this.offset);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren