Fix crash in progressive mode
This commit is contained in:
parent
e1c0f106cc
commit
4736b551a8
|
@ -89,6 +89,10 @@ local item_lists = {"main", "craft", "craftpreview"}
|
||||||
|
|
||||||
local function get_inv_items(player)
|
local function get_inv_items(player)
|
||||||
local inv = player:get_inventory()
|
local inv = player:get_inventory()
|
||||||
|
if not inv then
|
||||||
|
return {}
|
||||||
|
end
|
||||||
|
|
||||||
local stacks = {}
|
local stacks = {}
|
||||||
|
|
||||||
for i = 1, #item_lists do
|
for i = 1, #item_lists do
|
||||||
|
|
Ŝarĝante…
Reference in New Issue