Made .schematic save/load messages more descriptive when an IOException is raised.

Dieser Commit ist enthalten in:
sk89q 2010-11-04 23:16:26 -07:00
Ursprung b3ddbb426a
Commit 53c3c1064e

Datei anzeigen

@ -611,7 +611,7 @@ public class WorldEditController {
} catch (DataException e) {
player.printError("Load error: " + e.getMessage());
} catch (IOException e) {
player.printError("Schematic could not read or it does not exist.");
player.printError("Schematic could not read or it does not exist: " + e.getMessage());
}
return true;
@ -650,7 +650,7 @@ public class WorldEditController {
} catch (DataException se) {
player.printError("Save error: " + se.getMessage());
} catch (IOException e) {
player.printError("Schematic could not written.");
player.printError("Schematic could not written: " + e.getMessage());
}
return true;