slight tweak to hopper item suction height

This commit is contained in:
tenplus1 2021-01-09 15:11:15 +00:00
parent ef92348b95
commit 872ad3a48b

View File

@ -493,7 +493,7 @@ minetest.register_abm({
and inv:room_for_item("main", and inv:room_for_item("main",
ItemStack(object:get_luaentity().itemstring)) then ItemStack(object:get_luaentity().itemstring)) then
if object:get_pos().y - pos.y >= 0.3 then if object:get_pos().y - pos.y > 0.25 then
inv:add_item("main", inv:add_item("main",
ItemStack(object:get_luaentity().itemstring)) ItemStack(object:get_luaentity().itemstring))