Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-24 18:10:08 +01:00
check length, not null
Dieser Commit ist enthalten in:
Ursprung
b3e11d2094
Commit
75f059fdc5
@ -184,7 +184,7 @@ public class SpongeSchematicReader extends NBTSchematicReader {
|
|||||||
}
|
}
|
||||||
int[] pos = value.getIntArray("Pos");
|
int[] pos = value.getIntArray("Pos");
|
||||||
int x,y,z;
|
int x,y,z;
|
||||||
if (pos == null) {
|
if (pos.length != 3) {
|
||||||
System.out.println("Invalid tile " + value);
|
System.out.println("Invalid tile " + value);
|
||||||
if (!value.containsKey("x") || !value.containsKey("y") || !value.containsKey("z")) {
|
if (!value.containsKey("x") || !value.containsKey("y") || !value.containsKey("z")) {
|
||||||
return;
|
return;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren