mirror of
https://github.com/minetest-mods/areas.git
synced 2024-08-20 18:24:05 +02:00
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.")
|
.." or is not owned by you.")
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
local index = areas:getImdexById(id)
|
local index = areas:getIndexById(id)
|
||||||
areas.areas[index].owner = new_owner
|
areas.areas[index].owner = new_owner
|
||||||
areas:save()
|
areas:save()
|
||||||
minetest.chat_send_player(name, 'Owner changed.')
|
minetest.chat_send_player(name, 'Owner changed.')
|
||||||
|
Loading…
Reference in New Issue
Block a user