mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 00:19:32 +01:00
Fix regressing causing eat effect for drinks
This commit is contained in:
parent
6518fa7599
commit
d241df3d1a
1 changed files with 1 additions and 1 deletions
|
@ -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", {
|
||||
|
|
Loading…
Reference in a new issue