From e3713be4519b038be57e3a1d444254c6b00cba56 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Mon, 10 Jun 2013 12:41:05 +0000 Subject: ProtectinoAreas: Configuratino is now loaded from an INI file git-svn-id: http://mc-server.googlecode.com/svn/trunk@1576 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- MCServer/Plugins/ProtectionAreas/PlayerAreas.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'MCServer/Plugins/ProtectionAreas/PlayerAreas.lua') diff --git a/MCServer/Plugins/ProtectionAreas/PlayerAreas.lua b/MCServer/Plugins/ProtectionAreas/PlayerAreas.lua index 4ff50d8ad..5627f4d5f 100644 --- a/MCServer/Plugins/ProtectionAreas/PlayerAreas.lua +++ b/MCServer/Plugins/ProtectionAreas/PlayerAreas.lua @@ -73,8 +73,7 @@ function cPlayerAreas:CanInteractWithBlock(a_BlockX, a_BlockZ) end -- The coords are not inside any area - -- TODO: Have a config saying whether a player can build in the non-areated space or not - return true; + return cConfig.m_AllowInteractNoArea; end -- cgit v1.2.3