Fix invalid schematic message
This commit is contained in:
parent
361a4e3dce
commit
56499b7752
@ -250,7 +250,7 @@ public class SchematicCommands extends MethodCommands {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (f == null || !f.exists() || !MainUtil.isInSubDirectory(working, f)) {
|
if (f == null || !f.exists() || !MainUtil.isInSubDirectory(working, f)) {
|
||||||
player.printError("Schematic " + filename + " does not exist! (" + f.exists() + "|" + f + "|" + (!MainUtil.isInSubDirectory(working, f)) + ")");
|
player.printError("Schematic " + filename + " does not exist! (" + (f == null ? false : f.exists()) + "|" + f + "|" + (!MainUtil.isInSubDirectory(working, f)) + ")");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (format == null) {
|
if (format == null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user