|
|
@ -18,7 +18,7 @@ if minetest.get_modpath("areas") then |
|
|
|
|
|
|
|
-- allow for players with areas privilege |
|
|
|
if not player_owns_id and minetest.check_player_privs(name, { areas=true }) then |
|
|
|
if table.getn(current_areas) == 1 |
|
|
|
if table.getn(current_areas) == 1 then |
|
|
|
player_owns_id = current_areas[1] or current_areas[0] |
|
|
|
else |
|
|
|
minetest.chat_send_player(name, "[creative_regions] Area ambiguous: You are in multiple areas.") |
|
|
|