Added log statements when gates get closed during serialization.

This commit is contained in:
Tobias Ottenweller 2013-02-15 23:36:14 +01:00
parent cd0ebc3a7a
commit 56a5f828ee

View File

@ -120,6 +120,7 @@ public class Gate extends BaseGate implements ConfigurationSerializable
validate(); // make sure to not write invalid stuff to disk
}
catch (Exception e) {
Plugin.log("Gate " + this.getId() + " seems to be not valid. It got closed before serializing!");
}
Map<String, Object> retVal = new HashMap<String, Object>();