From 60bf78040c33b30d587ae1dd4b624c475d290a2b Mon Sep 17 00:00:00 2001 From: ementalo Date: Fri, 15 Apr 2011 21:56:40 +0000 Subject: [PATCH] [trunk] fix setting for prevent-block-on-rails git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1200 e251c2fe-e539-e718-e476-b85c1f46cddb --- .../essentials/protect/EssentialsProtectBlockListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectBlockListener.java b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectBlockListener.java index c1aadeda7..642d6c54b 100644 --- a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectBlockListener.java +++ b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectBlockListener.java @@ -69,7 +69,7 @@ public class EssentialsProtectBlockListener extends BlockListener if (spData.isBlockAboveProtectedRail(blockPlaced.getFace(BlockFace.DOWN))) { - if (EssentialsProtect.genSettings.get("protect.protect.prevent.block-on-rail")) + if (EssentialsProtect.genSettings.get("protect.protect.prevent-block-on-rails")) { event.setCancelled(true); return;