diff options
-rw-r--r-- | init.lua | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |
index : protector | ||
Unnamed repository; edit this file 'description' to name the repository. | root |
summaryrefslogtreecommitdiff |
-rw-r--r-- | init.lua | 3 |
@@ -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 |