Fix a indexing bug with change_owner

This commit is contained in:
ShadowNinja 2014-06-14 22:49:06 -04:00
parent abd6a4c709
commit bfb260d181
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ minetest.register_chatcommand("change_owner", {
areas:save()
minetest.chat_send_player(newOwner,
("%s has given you control over the area %q (ID %d).")
:format(name, areas[id].name, id))
:format(name, areas.areas[id].name, id))
return true, "Owner changed."
end
})