Remove weird function call in hunger mod

Wuzzy 2017-02-17 03:00:15 +01:00
parent 822bedc09a
commit b8a2149995

@ -80,8 +80,6 @@ function mcl_hunger.item_eat(hunger_change, replace_with_item, poisen, heal, sou
local pos = user:getpos() local pos = user:getpos()
pos.y = pos.y + item_drop_settings.player_collect_height pos.y = pos.y + item_drop_settings.player_collect_height
-- FIXME: Is this correct? o_O
minetest.add_item(pos, drop)
local foodtype = minetest.get_item_group(itemname, "food") local foodtype = minetest.get_item_group(itemname, "food")
if foodtype == 3 then if foodtype == 3 then
-- Item is a drink, only play drinking sound (no particle) -- Item is a drink, only play drinking sound (no particle)