forked from VoxeLibre/VoxeLibre
parent
262100be24
commit
c2e5f7d3fd
|
@ -378,6 +378,7 @@ local function register_chest(basename, desc, longdesc, usagehelp, tt_help, tile
|
|||
end
|
||||
|
||||
local function limit_put(stack, inv1, inv2)
|
||||
if not stack or not inv1 or not inv2 then return end
|
||||
local leftover = ItemStack(stack)
|
||||
leftover = limit_put_list(leftover, inv1:get_list("main"))
|
||||
leftover = limit_put_list(leftover, inv2:get_list("main"))
|
||||
|
|
Loading…
Reference in New Issue