mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-12-23 17:47:35 +01:00
Caught error message for when the configuration file does not exist.
This commit is contained in:
parent
13cc6736e2
commit
0f3c1b94d7
@ -134,7 +134,12 @@ private static Set<Integer> toBlockIDSet(String str) {
|
|||||||
* Load the configuration
|
* Load the configuration
|
||||||
*/
|
*/
|
||||||
public void loadConfiguration() {
|
public void loadConfiguration() {
|
||||||
properties.load();
|
try {
|
||||||
|
properties.load();
|
||||||
|
} catch (IOException e) {
|
||||||
|
logger.log(Level.WARNING, "WorldGuard: Failed to load configuration: "
|
||||||
|
+ e.getMessage());
|
||||||
|
}
|
||||||
|
|
||||||
recentLogins.clear();
|
recentLogins.clear();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user