Browse Source

fix syntax error

main
Hendrik Langer 4 years ago
parent
commit
a072607f7d
  1. 2
      items.lua

2
items.lua

@ -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.")

Loading…
Cancel
Save