mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-22 17:18:37 +01:00
[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:
parent
8a12038948
commit
60bf78040c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user