geforkt von Mirrors/FastAsyncWorldEdit
Improve note about loading invalid schematics via FSR and SSR
Dieser Commit ist enthalten in:
Ursprung
99ea64fa4e
Commit
5acd1d7b95
@ -253,7 +253,7 @@ public class FastSchematicReader extends NBTSchematicReader {
|
|||||||
inputStream.readNamedTagLazy(root);
|
inputStream.readNamedTagLazy(root);
|
||||||
|
|
||||||
if (version != 1 && version != 2) {
|
if (version != 1 && version != 2) {
|
||||||
throw new IOException("This schematic version is currently not supported (" + version + ")");
|
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) {
|
if (blocks != null) {
|
||||||
|
@ -124,7 +124,7 @@ public class SpongeSchematicReader extends NBTSchematicReader {
|
|||||||
BlockArrayClipboard clip = readVersion1(schematicTag);
|
BlockArrayClipboard clip = readVersion1(schematicTag);
|
||||||
return readVersion2(clip, schematicTag);
|
return readVersion2(clip, schematicTag);
|
||||||
}
|
}
|
||||||
throw new IOException("This schematic version is currently not supported");
|
throw new IOException("This schematic version is not supported; Version: " + schematicVersion + ", 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.");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren