forked from VoxeLibre/VoxeLibre
Don't try to collect items dropped from workbench
This commit is contained in:
parent
8994468c5c
commit
4b4403b39c
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue