mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-29 14:01:07 +01:00
Don't try to collect items dropped from workbench
This commit is contained in:
parent
8994468c5c
commit
4b4403b39c
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue