diff options
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -264,6 +264,8 @@ protector.old_is_protected = minetest.is_protected -- check for protected area, return true if protected and digger isn't on list function minetest.is_protected(pos, digger) + digger = digger or "" -- nil check + -- is area protected against digger? if not protector.can_dig(protector.radius, pos, digger, false, 1) then |