Fix not persistent allow/deny riding flag.

This commit is contained in:
Tobias Ottenweller 2014-01-19 21:01:28 +01:00
parent 2bd8b0ff03
commit c80b0f0f68

View File

@ -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());