Fix dispensers placing useless shulker boxes

This commit is contained in:
Wuzzy 2020-07-10 18:01:26 +02:00
parent 0a5294c0c8
commit 255893707b
1 changed files with 1 additions and 0 deletions

View File

@ -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