mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-12-15 04:41:37 +08:00
Catch IOException now raised by PropertiesFile.load().
This commit is contained in:
parent
184af85d34
commit
67b46a9f27
@ -1934,7 +1934,12 @@ public void loadConfiguration() {
|
||||
if (properties == null) {
|
||||
properties = new PropertiesFile("worldedit.properties");
|
||||
} else {
|
||||
properties.load();
|
||||
try {
|
||||
properties.load();
|
||||
} catch (IOException e) {
|
||||
logger.warning("worldedit.properties could not be loaded: "
|
||||
+ e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
profile = properties.getBoolean("debug-profile", false);
|
||||
|
Loading…
Reference in New Issue
Block a user