Hacky saturation+exhaustion persisting
This commit is contained in:
parent
d8e1124ee4
commit
ae19fd9cba
2 changed files with 63 additions and 29 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.saturation[name], h)
|
||||
hb.change_hudbar(user, "saturation", mcl_hunger.get_saturation(user), h)
|
||||
end
|
||||
-- Poison
|
||||
if poisen then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue