mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-19 17:41:06 +01:00
Remove weird function call in hunger mod
This commit is contained in:
parent
822bedc09a
commit
b8a2149995
1 changed files with 0 additions and 2 deletions
|
@ -80,8 +80,6 @@ function mcl_hunger.item_eat(hunger_change, replace_with_item, poisen, heal, sou
|
||||||
|
|
||||||
local pos = user:getpos()
|
local pos = user:getpos()
|
||||||
pos.y = pos.y + item_drop_settings.player_collect_height
|
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")
|
local foodtype = minetest.get_item_group(itemname, "food")
|
||||||
if foodtype == 3 then
|
if foodtype == 3 then
|
||||||
-- Item is a drink, only play drinking sound (no particle)
|
-- Item is a drink, only play drinking sound (no particle)
|
||||||
|
|
Loading…
Reference in a new issue