mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-15 21:04:04 +00:00
Made .schematic save/load messages more descriptive when an IOException is raised.
This commit is contained in:
@@ -611,7 +611,7 @@ public class WorldEditController {
|
|||||||
} catch (DataException e) {
|
} catch (DataException e) {
|
||||||
player.printError("Load error: " + e.getMessage());
|
player.printError("Load error: " + e.getMessage());
|
||||||
} catch (IOException e) {
|
} 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;
|
return true;
|
||||||
@@ -650,7 +650,7 @@ public class WorldEditController {
|
|||||||
} catch (DataException se) {
|
} catch (DataException se) {
|
||||||
player.printError("Save error: " + se.getMessage());
|
player.printError("Save error: " + se.getMessage());
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
player.printError("Schematic could not written.");
|
player.printError("Schematic could not written: " + e.getMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user