From 810a706e5fb54b43f3349504c33b26e672f9a8af Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Mon, 18 Nov 2013 17:45:44 -0500 Subject: [PATCH] Show sub-areas in /list_areas --- chatcommands.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chatcommands.lua b/chatcommands.lua index c201e19..58978f1 100644 --- a/chatcommands.lua +++ b/chatcommands.lua @@ -206,7 +206,7 @@ minetest.register_chatcommand("list_areas", { "Showing your areas.") end for _, area in pairs(areas.areas) do - if admin or area.owner == name then + if admin or areas:isAreaOwner(area.id, name) then minetest.chat_send_player(name, areas:toString(area)) end