Add hunger debug mode
This commit is contained in:
parent
7af1292b9f
commit
61838ced7a
2 changed files with 37 additions and 18 deletions
|
@ -148,7 +148,7 @@ function mcl_hunger.item_eat(hunger_change, replace_with_item, poisen, heal, sou
|
|||
end
|
||||
|
||||
hb.change_hudbar(user, "food", h)
|
||||
hb.change_hudbar(user, "saturation", mcl_hunger.get_saturation(user), h*10)
|
||||
mcl_hunger.update_saturation_hud(user, mcl_hunger.get_saturation(user), h)
|
||||
end
|
||||
-- Poison
|
||||
if poisen then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue