Merge pull request #39 from craftinc/bugfix/serialization

fixed broken location/exit serialization of gates.
This commit is contained in:
Tobias Ottenweller 2017-01-01 19:19:13 +01:00 committed by GitHub
commit d5d079bfcf

View File

@ -286,11 +286,11 @@ public class Gate implements ConfigurationSerializable {
retVal.put(materialKey, material.toString());
if (exit != null) {
retVal.put(exitKey, exit.serialize());
retVal.put(exitKey, exit);
}
if (location != null) {
retVal.put(locationKey, location.serialize());
retVal.put(locationKey, location);
}
return retVal;