Added log statements when gates get closed during serialization.
This commit is contained in:
parent
cd0ebc3a7a
commit
56a5f828ee
@ -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>();
|
||||
|
Loading…
x
Reference in New Issue
Block a user