mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-24 12:25:13 +00:00
Don't erase item metadata when out of dropper
This commit is contained in:
parent
1d91d94ee6
commit
06a8a810be
1 changed files with 2 additions and 1 deletions
|
@ -75,7 +75,8 @@ local dropperdef = {
|
|||
if #stacks >= 1 then
|
||||
local r = math.random(1, #stacks)
|
||||
local stack = stacks[r].stack
|
||||
local dropitem = ItemStack(stack:get_name())
|
||||
local dropitem = ItemStack(stack)
|
||||
dropitem:set_count(1)
|
||||
local stack_id = stacks[r].stackpos
|
||||
|
||||
-- If it's a container, attempt to put it into the container
|
||||
|
|
Loading…
Reference in a new issue