Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-08 04:20:06 +01:00
Catch IOException now raised by PropertiesFile.load().
Dieser Commit ist enthalten in:
Ursprung
184af85d34
Commit
67b46a9f27
@ -1934,7 +1934,12 @@ public class WorldEditListener extends PluginListener {
|
|||||||
if (properties == null) {
|
if (properties == null) {
|
||||||
properties = new PropertiesFile("worldedit.properties");
|
properties = new PropertiesFile("worldedit.properties");
|
||||||
} else {
|
} else {
|
||||||
|
try {
|
||||||
properties.load();
|
properties.load();
|
||||||
|
} catch (IOException e) {
|
||||||
|
logger.warning("worldedit.properties could not be loaded: "
|
||||||
|
+ e.getMessage());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
profile = properties.getBoolean("debug-profile", false);
|
profile = properties.getBoolean("debug-profile", false);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren