Fix variable name

This commit is contained in:
Jean-Patrick Guerrero 2021-12-25 17:01:25 +01:00
parent c7f6e1db62
commit 2fadcdefdd

View File

@ -34,7 +34,7 @@ local function init_hud(player)
}, },
} }
if not i3.legacy_inventory then if not i3.settings.legacy_inventory then
core.after(0, function() core.after(0, function()
player:hud_set_hotbar_itemcount(i3.settings.hotbar_len) player:hud_set_hotbar_itemcount(i3.settings.hotbar_len)
player:hud_set_hotbar_image"i3_hotbar.png" player:hud_set_hotbar_image"i3_hotbar.png"