Skip to content

Commit

Permalink
Add some better debug for the schematic command
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jun 17, 2015
1 parent 4a0020b commit 3265154
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public void execute(final ScriptEntry scriptEntry) throws CommandExecutionExcept
String directory = URLDecoder.decode(System.getProperty("user.dir"));
File f = new File(directory + "/plugins/Denizen/schematics/" + name.asString() + ".schematic");
if (!f.exists()) {
dB.echoError("Schematic file " + name.asString() + " does not exist.");
dB.echoError("Schematic file " + name.asString() + " does not exist. Are you sure it's in " + directory + "/plugins/Denizen/schematics/?");
return;
}
InputStream fs = new FileInputStream(f);
Expand Down

0 comments on commit 3265154

Please sign in to comment.