Don't erase item metadata when out of dropper

Wuzzy 2017-06-12 22:27:37 +02:00
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