forked from mtcontrib/diet
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
|
h = h + points
|
||||||
if h > 30 then h = 30 end
|
if h > 30 then h = 30 end
|
||||||
hbhunger.hunger[name] = h
|
hbhunger.hunger[name] = h
|
||||||
hbhunger.set_hunger(user)
|
hbhunger.set_hunger_raw(user)
|
||||||
|
|
||||||
-- healing
|
-- healing
|
||||||
local hp = user:get_hp()
|
local hp = user:get_hp()
|
||||||
|
Loading…
Reference in New Issue
Block a user