mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-12-15 04:41:37 +08:00
Made .schematic save/load messages more descriptive when an IOException is raised.
This commit is contained in:
parent
b3ddbb426a
commit
53c3c1064e
@ -611,7 +611,7 @@ public boolean performCommand(WorldEditPlayer player,
|
||||
} 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 boolean performCommand(WorldEditPlayer player,
|
||||
} 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;
|
||||
|
Loading…
Reference in New Issue
Block a user