From a072607f7d4bd500f4e56971e5ab26943e42b864 Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Mon, 1 Jun 2020 14:03:06 +0200 Subject: [PATCH] fix syntax error --- items.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/items.lua b/items.lua index 87b3995..eab7f5b 100644 --- a/items.lua +++ b/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.")