diff options
author | ShadowNinja <shadowninja@minetest.net> | 2013-11-18 17:45:44 -0500 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2013-11-18 17:45:44 -0500 |
commit | 810a706e5fb54b43f3349504c33b26e672f9a8af (patch) | |
tree | 2cddfd064f4aaaebe8c29b90ca7640d53c6582f9 | |
parent | 5f68c111dc84f5f5604cd39be15812d364f3e26d (diff) |
Show sub-areas in /list_areas
-rw-r--r-- | chatcommands.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |