diff options
Diffstat (limited to 'Plugins/Core/onblockplace.lua')
-rw-r--r-- | Plugins/Core/onblockplace.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Plugins/Core/onblockplace.lua b/Plugins/Core/onblockplace.lua index 5717d76ca..12b536e7a 100644 --- a/Plugins/Core/onblockplace.lua +++ b/Plugins/Core/onblockplace.lua @@ -3,6 +3,10 @@ function OnBlockPlace( Block, Player ) -- dont check if the direction is in the air
if Block.m_Direction ~= -1 then
+ if( Player:HasPermission("core.build") == false ) then
+ return true
+ end
+
local X = Block.m_PosX
local Y = Block.m_PosY
local Z = Block.m_PosZ
|