From 044fc0a44cf7f62c9c898ac8365c6df9924ae3b8 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Wed, 7 Mar 2018 15:07:50 +1100 Subject: [PATCH] Debug #938 --- .../java/com/sk89q/worldedit/command/SchematicCommands.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/com/sk89q/worldedit/command/SchematicCommands.java b/core/src/main/java/com/sk89q/worldedit/command/SchematicCommands.java index f11046ab..f34b4f2a 100644 --- a/core/src/main/java/com/sk89q/worldedit/command/SchematicCommands.java +++ b/core/src/main/java/com/sk89q/worldedit/command/SchematicCommands.java @@ -238,7 +238,7 @@ public class SchematicCommands extends MethodCommands { if (filename.startsWith("#")) { f = player.openFileOpenDialog(new String[] { format.getExtension() }); if (!f.exists()) { - player.printError("Schematic " + filename + " does not exist!"); + player.printError("Schematic " + filename + " does not exist! (" + f + ")"); return; } } else { @@ -267,7 +267,7 @@ public class SchematicCommands extends MethodCommands { } } 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; } in = new FileInputStream(f);