diff --git a/items.lua b/items.lua index 74a653d..9c60cad 100644 --- a/items.lua +++ b/items.lua @@ -27,7 +27,11 @@ if minetest.get_modpath("areas") then if num_current_areas == 1 then player_owns_id = current_area_id else - minetest.chat_send_player(name, "[creative_regions] Area ambiguous: You are in multiple areas.") + if num_current_areas > 1 then + minetest.chat_send_player(name, "[creative_regions] Area ambiguous: You are in multiple areas.") + else + minetest.chat_send_player(name, "[creative_regions] no Area: You are not in an area.") + end minetest.after(0.2, function(pos) minetest.remove_node(pos) end, pos)