diff --git a/src/de/craftinc/gates/Gate.java b/src/de/craftinc/gates/Gate.java index bcfbaae..423ece7 100644 --- a/src/de/craftinc/gates/Gate.java +++ b/src/de/craftinc/gates/Gate.java @@ -342,7 +342,7 @@ public class Gate implements ConfigurationSerializable retVal.put(exitKey, LocationUtil.serializeLocation(exit)); retVal.put(isHiddenKey, isHidden); retVal.put(isOpenKey, isOpen); - retVal.put(allowsVehiclesKey, allowsVehiclesKey); + retVal.put(allowsVehiclesKey, allowsVehicles); if (exit != null) { retVal.put(exitPitchKey, exit.getPitch());