blob: 0fe671ad61f266a59fbc7b20a022a8d9ada1ff4e (
plain) (
tree)
|
|
function OnBlockDig( 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
end
return false
end
|