From 971cb158faf89e26c7ce4ef4dc0a6938c5261e92 Mon Sep 17 00:00:00 2001 From: Brandon Date: Tue, 13 Sep 2016 13:20:48 -0500 Subject: Fix shared door not working --- protection.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protection.lua') diff --git a/protection.lua b/protection.lua index 40989f8..45efa75 100644 --- a/protection.lua +++ b/protection.lua @@ -30,7 +30,7 @@ function landrush.can_interact(pos, name) -- see if the owner is offline, and area is not shared then it's off limits if ( landrush.claims[chunk].owner ~= name and landrush.config:get_bool("onlineProtection") == false ) then - if ( minetest.get_player_by_name(owner) ~= nil ) then + if ( minetest.get_player_by_name(landrush.claims[chunk].owner) ~= nil ) then minetest.chat_send_player( landrush.claims[chunk].owner, "You are being griefed by "..name.." at "..minetest.pos_to_string(pos) ) for u,u in pairs(landrush.claims[chunk].shared) do -- cgit v1.2.3