Add indication to player that area is protected and by whom

master
Alex Yst 2018-05-28 23:45:07 -07:00
parent fac3bec4cb
commit 85a0154607
1 changed files with 1 additions and 0 deletions

View File

@ -78,6 +78,7 @@ function minetest.is_protected(node_pos, player_name)
if owner == player_name then
return __blockprotectnodes__.is_protected(node_pos, player_name)
else
minetest.chat_send_player(player_name, "This area is owned by "..owner..".")
return true
end
else