mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-25 10:10:39 +01:00
Changed all lines related to hbhunger's item_eat support in food's init
This commit is contained in:
parent
a2fa06db5f
commit
a4c02fd0cf
@ -110,7 +110,7 @@ function food.item_eat(amt)
|
|||||||
if hbhunger then
|
if hbhunger then
|
||||||
return hbhunger.item_eat(amt)
|
return hbhunger.item_eat(amt)
|
||||||
else
|
else
|
||||||
return hunger.item_eat(amt)
|
return hbhunger.item_eat(amt)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
return minetest.item_eat(amt)
|
return minetest.item_eat(amt)
|
||||||
|
Loading…
Reference in New Issue
Block a user