summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 6d9378a..4dd5d92 100644
--- a/init.lua
+++ b/init.lua
@@ -162,7 +162,7 @@ landrush.default_dig = minetest.node_dig
-- Redefined Lua:
function minetest.node_dig(pos, node, digger)
local player = digger:get_player_name()
- if landrush.can_interact(player, pos) then
+ if landrush.can_interact(player, pos) or player == "" then
landrush.default_dig(pos, node, digger)
else
local owner = landrush.get_owner(pos)