Don't set item age for node drops

This commit is contained in:
Wuzzy 2017-05-29 17:32:49 +02:00
parent 040cead946
commit 7bc10b2ade

View file

@ -172,7 +172,6 @@ function minetest.handle_node_drops(pos, drops, digger)
z = -z z = -z
end end
obj:setvelocity({x=1/x, y=obj:getvelocity().y, z=1/z}) obj:setvelocity({x=1/x, y=obj:getvelocity().y, z=1/z})
obj:get_luaentity().age = 0.6
obj:get_luaentity()._insta_collect = true obj:get_luaentity()._insta_collect = true
end end
end end