Fix typo
This commit is contained in:
parent
5b4cbe122f
commit
ad3aaad8a8
|
@ -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.')
|
||||
|
|
Loading…
Reference in New Issue
Block a user