From 85047cc4ee73825d2401e024d63ece7c8aa42279 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Fri, 2 Oct 2015 10:32:44 +0100 Subject: [PATCH] Fixed pos bug --- init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 02a4a45..119ce9f 100644 --- 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