Fix not persistent allow/deny riding flag.
This commit is contained in:
parent
2bd8b0ff03
commit
c80b0f0f68
@ -342,7 +342,7 @@ public class Gate implements ConfigurationSerializable
|
|||||||
retVal.put(exitKey, LocationUtil.serializeLocation(exit));
|
retVal.put(exitKey, LocationUtil.serializeLocation(exit));
|
||||||
retVal.put(isHiddenKey, isHidden);
|
retVal.put(isHiddenKey, isHidden);
|
||||||
retVal.put(isOpenKey, isOpen);
|
retVal.put(isOpenKey, isOpen);
|
||||||
retVal.put(allowsVehiclesKey, allowsVehiclesKey);
|
retVal.put(allowsVehiclesKey, allowsVehicles);
|
||||||
|
|
||||||
if (exit != null) {
|
if (exit != null) {
|
||||||
retVal.put(exitPitchKey, exit.getPitch());
|
retVal.put(exitPitchKey, exit.getPitch());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user