Debug #938
This commit is contained in:
parent
3644ad9d70
commit
044fc0a44c
@ -238,7 +238,7 @@ public class SchematicCommands extends MethodCommands {
|
|||||||
if (filename.startsWith("#")) {
|
if (filename.startsWith("#")) {
|
||||||
f = player.openFileOpenDialog(new String[] { format.getExtension() });
|
f = player.openFileOpenDialog(new String[] { format.getExtension() });
|
||||||
if (!f.exists()) {
|
if (!f.exists()) {
|
||||||
player.printError("Schematic " + filename + " does not exist!");
|
player.printError("Schematic " + filename + " does not exist! (" + f + ")");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@ -267,7 +267,7 @@ public class SchematicCommands extends MethodCommands {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!f.exists() || !MainUtil.isInSubDirectory(working, f)) {
|
if (!f.exists() || !MainUtil.isInSubDirectory(working, f)) {
|
||||||
player.printError("Schematic " + filename + " does not exist!");
|
player.printError("Schematic " + filename + " does not exist! (" + f.exists() + "|" + f + "|" + (!MainUtil.isInSubDirectory(working, f)) + ")");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
in = new FileInputStream(f);
|
in = new FileInputStream(f);
|
||||||
|
Loading…
Reference in New Issue
Block a user