1
0
Fork 0

Fix regressing causing eat effect for drinks

objects
Wuzzy 2017-05-21 00:08:31 +02:00
parent 6518fa7599
commit d241df3d1a
1 changed files with 1 additions and 1 deletions

View File

@ -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", {