fixed broken location/exit serialization of gates.

This commit is contained in:
Tobias Ottenweller 2017-01-01 15:55:12 +01:00
parent c04aac10f6
commit 3b16a6372b

View File

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