blob: 65e48576c2fc4c265aa7dc1a839ebf7895064fe0 (
plain) (
tree)
|
|
function OnBlockDig(Player, BlockX, BlockY, BlockZ, BlockFace, Status, OldBlockType, OldBlockMeta)
-- dont check if the direction is in the air
if (BlockFace ~= -1) then
if (Player:HasPermission("core.build") == false) then
return true
end
end
return false
end
|