From ad3aaad8a8f9421c1b58ae0d3ed00c3bfd79e5ec Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Fri, 8 Nov 2013 14:45:17 -0500 Subject: [PATCH] Fix typo --- chatcommands.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.')