From 0230314c7eeb62a0f255a9db833f347ecdbe7fa2 Mon Sep 17 00:00:00 2001 From: Tobias Ottenweller Date: Sun, 19 May 2013 10:05:21 +0200 Subject: [PATCH] Added a little bit more logging. --- src/de/craftinc/gates/GatesManager.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/de/craftinc/gates/GatesManager.java b/src/de/craftinc/gates/GatesManager.java index 1a68658..eeac1bf 100644 --- a/src/de/craftinc/gates/GatesManager.java +++ b/src/de/craftinc/gates/GatesManager.java @@ -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(); } } @@ -92,7 +92,9 @@ public class GatesManager fillGatesById(); fillGatesByChunk(); - fillGatesByLocation(); + fillGatesByLocation(); + + Plugin.log("Loaded " + this.gates.size() + " gates."); }