From 53c3c1064e2f1bdd58144f5b6829b801e59f2130 Mon Sep 17 00:00:00 2001 From: sk89q Date: Thu, 4 Nov 2010 23:16:26 -0700 Subject: [PATCH] Made .schematic save/load messages more descriptive when an IOException is raised. --- src/WorldEditController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/WorldEditController.java b/src/WorldEditController.java index 21ca9114d..9dfcdda4a 100644 --- a/src/WorldEditController.java +++ b/src/WorldEditController.java @@ -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;