Fixed pos bug
authorTenPlus1 <kinsellaja@yahoo.com>
Fri, 2 Oct 2015 09:32:44 +0000 (10:32 +0100)
committerTenPlus1 <kinsellaja@yahoo.com>
Fri, 2 Oct 2015 09:32:44 +0000 (10:32 +0100)
init.lua

index 02a4a45..119ce9f 100644 (file)
--- a/init.lua
+++ b/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