0
0
Fork 0

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
1 changed files with 1 additions and 0 deletions

View File

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