Fixed pos bug
This commit is contained in:
parent
e0febf0dca
commit
85047cc4ee
1 changed files with 2 additions and 1 deletions
3
init.lua
3
init.lua
|
|
@ -89,7 +89,8 @@ end
|
|||
|
||||
protector.can_dig = function(r, pos, digger, onlyowner, infolevel)
|
||||
|
||||
if not digger then
|
||||
if not digger
|
||||
or not pos then
|
||||
return false
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue