ed7b680d3c
git-svn-id: http://mc-server.googlecode.com/svn/trunk@425 0a769ca7-a7f5-676a-18bf-c427514a06d6
11 lines
228 B
Lua
11 lines
228 B
Lua
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 |