mirror of
https://github.com/joe7575/techpack.git
synced 2024-11-29 18:43:53 +01:00
Grinder: fix inventory bug (forum bug report)
This commit is contained in:
parent
5239945eef
commit
7b29a553df
@ -83,7 +83,7 @@ local function allow_metadata_inventory_take(pos, listname, index, stack, player
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function grinding(pos, meta, inv)
|
local function grinding(pos, meta, inv)
|
||||||
for _,stack in ipairs(inv:get_list("src")) do
|
for _,stack in ipairs(inv:get_list("src") or {}) do
|
||||||
if not stack:is_empty() then
|
if not stack:is_empty() then
|
||||||
local name = stack:get_name()
|
local name = stack:get_name()
|
||||||
if Recipes[name] then
|
if Recipes[name] then
|
||||||
|
Loading…
Reference in New Issue
Block a user