diff --git a/src/de/craftinc/gates/models/Gate.java b/src/de/craftinc/gates/models/Gate.java index e220b2b..c56c1b7 100644 --- a/src/de/craftinc/gates/models/Gate.java +++ b/src/de/craftinc/gates/models/Gate.java @@ -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;