mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Catch IOException now raised by PropertiesFile.load().
This commit is contained in:
parent
184af85d34
commit
67b46a9f27
@ -1934,7 +1934,12 @@ public class WorldEditListener extends PluginListener {
|
||||
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