diff options
author | ShadowNinja <shadowninja@minetest.net> | 2013-11-08 14:45:17 -0500 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2013-11-08 14:45:17 -0500 |
commit | ad3aaad8a8f9421c1b58ae0d3ed00c3bfd79e5ec (patch) | |
tree | 2024a385e3011a3dec5eca33100be6e5db384bb0 | |
parent | 5b4cbe122feb0159f4c5e851e4b4006cd3c1b750 (diff) |
Fix typo
-rw-r--r-- | chatcommands.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chatcommands.lua b/chatcommands.lua index b1dcfd8..f953dba 100644 --- a/chatcommands.lua +++ b/chatcommands.lua @@ -297,7 +297,7 @@ minetest.register_chatcommand("change_owner", { .." or is not owned by you.") return end - local index = areas:getImdexById(id) + local index = areas:getIndexById(id) areas.areas[index].owner = new_owner areas:save() minetest.chat_send_player(name, 'Owner changed.') |