Don't try to collect items dropped from workbench

This commit is contained in:
Wuzzy 2017-05-30 18:34:08 +02:00
parent 8994468c5c
commit 4b4403b39c

View file

@ -15,6 +15,7 @@ local function item_drop(itemstack, dropper, pos)
v.y = v.y*4 + 2
v.z = v.z*4
obj:setvelocity(v)
obj:get_luaentity()._insta_collect = false
end
else
minetest.add_item(pos, itemstack)