[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
This commit is contained in:
ementalo 2011-04-15 21:56:40 +00:00
parent 8a12038948
commit 60bf78040c

View File

@ -69,7 +69,7 @@ public class EssentialsProtectBlockListener extends BlockListener
if (spData.isBlockAboveProtectedRail(blockPlaced.getFace(BlockFace.DOWN))) 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); event.setCancelled(true);
return; return;