mirror of
https://github.com/minetest-mods/i3.git
synced 2025-07-04 09:30:23 +02:00
Fix crash in progressive mode
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user