From b8a21499952f70c08aa0591c40b2a1150e1ae8c5 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 17 Feb 2017 03:00:15 +0100 Subject: [PATCH] Remove weird function call in hunger mod --- mods/PLAYER/mcl_hunger/hunger.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/mods/PLAYER/mcl_hunger/hunger.lua b/mods/PLAYER/mcl_hunger/hunger.lua index 89a167a113..6d3380bec7 100644 --- a/mods/PLAYER/mcl_hunger/hunger.lua +++ b/mods/PLAYER/mcl_hunger/hunger.lua @@ -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)