summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/ProtectionAreas/PlayerAreas.lua
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-10 14:41:05 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-10 14:41:05 +0200
commite3713be4519b038be57e3a1d444254c6b00cba56 (patch)
treeb589a7be581316d7cd7e3c6b489cacf7145fd565 /MCServer/Plugins/ProtectionAreas/PlayerAreas.lua
parentProtectionAreas: Implemented reloading areas when a player moves (diff)
downloadcuberite-e3713be4519b038be57e3a1d444254c6b00cba56.tar
cuberite-e3713be4519b038be57e3a1d444254c6b00cba56.tar.gz
cuberite-e3713be4519b038be57e3a1d444254c6b00cba56.tar.bz2
cuberite-e3713be4519b038be57e3a1d444254c6b00cba56.tar.lz
cuberite-e3713be4519b038be57e3a1d444254c6b00cba56.tar.xz
cuberite-e3713be4519b038be57e3a1d444254c6b00cba56.tar.zst
cuberite-e3713be4519b038be57e3a1d444254c6b00cba56.zip
Diffstat (limited to 'MCServer/Plugins/ProtectionAreas/PlayerAreas.lua')
-rw-r--r--MCServer/Plugins/ProtectionAreas/PlayerAreas.lua3
1 files changed, 1 insertions, 2 deletions
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