1
0
mirror of https://github.com/minetest-mods/i3.git synced 2025-04-20 19:40:29 +02:00

Fix crash in progressive mode

This commit is contained in:
Jean-Patrick Guerrero 2022-06-09 12:33:56 +02:00
parent e1c0f106cc
commit 4736b551a8

@ -89,6 +89,10 @@ local item_lists = {"main", "craft", "craftpreview"}
local function get_inv_items(player)
local inv = player:get_inventory()
if not inv then
return {}
end
local stacks = {}
for i = 1, #item_lists do