diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2015-10-02 10:32:44 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2015-10-02 10:32:44 +0100 |
commit | 85047cc4ee73825d2401e024d63ece7c8aa42279 (patch) | |
tree | 188d2c166fcfc29ab5847b28ccea5ce436daff4e | |
parent | e0febf0dca37aa935a6303b92eb30f102c0f62aa (diff) |
Fixed pos bug
-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 |