1
0
mirror of https://github.com/minetest/minetest.git synced 2024-09-27 15:00:30 +02:00

ContentDB: Fix ungraceful crash on aliases when list download fails

Fixes #12267 and fixes #12154
This commit is contained in:
rubenwardy 2022-04-25 20:43:09 +01:00 committed by sfan5
parent 1e7b5d6fdb
commit 8b010c5a9f

View File

@ -25,7 +25,7 @@ end
-- Unordered preserves the original order of the ContentDB API, -- Unordered preserves the original order of the ContentDB API,
-- before the package list is ordered based on installed state. -- before the package list is ordered based on installed state.
local store = { packages = {}, packages_full = {}, packages_full_unordered = {} } local store = { packages = {}, packages_full = {}, packages_full_unordered = {}, aliases = {} }
local http = core.get_http_api() local http = core.get_http_api()