diff options
author | Brandon <brandon@bremaweb.com> | 2016-09-13 13:20:48 -0500 |
---|---|---|
committer | Brandon <brandon@bremaweb.com> | 2016-09-13 13:20:48 -0500 |
commit | 971cb158faf89e26c7ce4ef4dc0a6938c5261e92 (patch) | |
tree | 9f71a8cc0565b64f7d2152e3fc581d8e741f6978 /protection.lua | |
parent | 12dbc31151eb9c689af2351e0b2779db23702b65 (diff) |
Fix shared door not working
Diffstat (limited to 'protection.lua')
-rw-r--r-- | protection.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |