Caught error message for when the configuration file does not exist.

This commit is contained in:
sk89q 2010-11-25 23:27:33 -08:00
parent 13cc6736e2
commit 0f3c1b94d7

View File

@ -134,7 +134,12 @@ private static Set<Integer> toBlockIDSet(String str) {
* Load the configuration * Load the configuration
*/ */
public void loadConfiguration() { public void loadConfiguration() {
try {
properties.load(); properties.load();
} catch (IOException e) {
logger.log(Level.WARNING, "WorldGuard: Failed to load configuration: "
+ e.getMessage());
}
recentLogins.clear(); recentLogins.clear();