summaryrefslogtreecommitdiffstats
path: root/EssentialsProtect
diff options
context:
space:
mode:
authorementalo <ementalo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-04-15 21:56:40 +0000
committerementalo <ementalo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-04-15 21:56:40 +0000
commit60bf78040c33b30d587ae1dd4b624c475d290a2b (patch)
treec6f9b208e2998851f5237c73d787f12c17164b1e /EssentialsProtect
parent8a12038948c8cec1957fb864233a966f025b04ba (diff)
downloadEssentials-60bf78040c33b30d587ae1dd4b624c475d290a2b.tar
Essentials-60bf78040c33b30d587ae1dd4b624c475d290a2b.tar.gz
Essentials-60bf78040c33b30d587ae1dd4b624c475d290a2b.tar.lz
Essentials-60bf78040c33b30d587ae1dd4b624c475d290a2b.tar.xz
Essentials-60bf78040c33b30d587ae1dd4b624c475d290a2b.zip
[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
Diffstat (limited to 'EssentialsProtect')
-rw-r--r--EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectBlockListener.java2
1 files changed, 1 insertions, 1 deletions
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;