From c80b0f0f688c2af15713f8fe9da0911a3b467672 Mon Sep 17 00:00:00 2001 From: Tobias Ottenweller Date: Sun, 19 Jan 2014 21:01:28 +0100 Subject: [PATCH] Fix not persistent allow/deny riding flag. --- src/de/craftinc/gates/Gate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());