mirror of
https://github.com/rubenwardy/diet.git
synced 2025-05-12 05:20:36 +02:00
Fix support for last change of hbhunger
This commit is contained in:
parent
d50bf2b4cd
commit
cdf47aba8b
2
init.lua
2
init.lua
@ -100,7 +100,7 @@ function diet.item_eat(max, replace_with_item, poisen, heal)
|
||||
h = h + points
|
||||
if h > 30 then h = 30 end
|
||||
hbhunger.hunger[name] = h
|
||||
hbhunger.set_hunger(user)
|
||||
hbhunger.set_hunger_raw(user)
|
||||
|
||||
-- healing
|
||||
local hp = user:get_hp()
|
||||
|
Loading…
x
Reference in New Issue
Block a user