Integrate Legacy Inventory option per-player in Settings popup

This commit is contained in:
Jean-Patrick Guerrero
2022-08-28 13:31:01 +02:00
parent c8d6312772
commit 75fdd57f2a
8 changed files with 49 additions and 33 deletions

View File

@ -33,13 +33,6 @@ local function init_hud(player)
style = 1,
},
}
if not i3.settings.legacy_inventory then
core.after(0, function()
player:hud_set_hotbar_itemcount(i3.settings.hotbar_len)
player:hud_set_hotbar_image"i3_hotbar.png"
end)
end
end
local function show_hud(player, data)