mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-29 12:47:30 +01:00
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
Block a user