mirror of
https://github.com/rubenwardy/food.git
synced 2025-07-28 11:30:20 +02:00
Fix BetterHud Support
This commit is contained in:
2
init.lua
2
init.lua
@ -62,7 +62,7 @@ function food.asupport(group,add)
|
||||
end
|
||||
function food.item_eat(amt)
|
||||
if minetest.get_modpath("hud") then
|
||||
return hud.item_eat(hunger_change)
|
||||
return hud.item_eat(amt)
|
||||
else
|
||||
return minetest.item_eat(amt)
|
||||
end
|
||||
|
Reference in New Issue
Block a user