Fix BetterHud Support

This commit is contained in:
Andrew Ward 2013-09-20 12:09:16 +01:00
parent b17c3c6ed4
commit 8c4807fe74
1 changed files with 1 additions and 1 deletions

View File

@ -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