1
0
Fork 0

Remove weird function call in hunger mod

This commit is contained in:
Wuzzy 2017-02-17 03:00:15 +01:00
parent 822bedc09a
commit b8a2149995
1 changed files with 0 additions and 2 deletions

View File

@ -80,8 +80,6 @@ function mcl_hunger.item_eat(hunger_change, replace_with_item, poisen, heal, sou
local pos = user:getpos()
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")
if foodtype == 3 then
-- Item is a drink, only play drinking sound (no particle)