From 3b16a6372b6a7bb55e2f28782497dd5200cbf334 Mon Sep 17 00:00:00 2001 From: Tobias Ottenweller Date: Sun, 1 Jan 2017 15:55:12 +0100 Subject: [PATCH] fixed broken location/exit serialization of gates. --- src/de/craftinc/gates/models/Gate.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;