forked from MineClone5/MineClone5
Fix dispensers placing useless shulker boxes
This commit is contained in:
parent
0a5294c0c8
commit
255893707b
|
@ -834,6 +834,7 @@ for color, desc in pairs(boxtypes) do
|
|||
local iinv_main = minetest.deserialize(imeta)
|
||||
local ninv = minetest.get_inventory({type="node", pos=droppos})
|
||||
ninv:set_list("main", iinv_main)
|
||||
ninv:set_size("main", 9*3)
|
||||
stack:take_item()
|
||||
end
|
||||
return stack
|
||||
|
|
Loading…
Reference in New Issue