Added a little bit more logging.

This commit is contained in:
Tobias Ottenweller 2013-05-19 10:05:21 +02:00
parent 768d385915
commit 0230314c7e

View File

@ -58,7 +58,7 @@ public class GatesManager
Plugin.log("Saved gates to disk.");
}
catch (IOException e) {
Plugin.log("ERROR: Could not save gates to disk.");
Plugin.log(Level.SEVERE, "ERROR: Could not save gates to disk.");
e.printStackTrace();
}
}
@ -93,6 +93,8 @@ public class GatesManager
fillGatesById();
fillGatesByChunk();
fillGatesByLocation();
Plugin.log("Loaded " + this.gates.size() + " gates.");
}