From d241df3d1a2c1b4767ba26cbeb4a5753f3778186 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 21 May 2017 00:08:31 +0200 Subject: [PATCH] Fix regressing causing eat effect for drinks --- mods/PLAYER/mcl_hunger/hunger.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/PLAYER/mcl_hunger/hunger.lua b/mods/PLAYER/mcl_hunger/hunger.lua index 28d9b6b9b..27a3932bf 100644 --- a/mods/PLAYER/mcl_hunger/hunger.lua +++ b/mods/PLAYER/mcl_hunger/hunger.lua @@ -86,7 +86,7 @@ function mcl_hunger.item_eat(hunger_change, replace_with_item, poisontime, poiso local pos = user:getpos() -- player height pos.y = pos.y + 1.5 - local foodtype = minetest.get_item_group(itemname, "hunger") + local foodtype = minetest.get_item_group(itemname, "food") if foodtype == 3 then -- Item is a drink, only play drinking sound (no particle) minetest.sound_play("survival_thirst_drink", {