1
0
镜像自地址 https://github.com/rubenwardy/food.git 已同步 2025-09-15 17:15:20 +02:00

Fix BetterHud Support

这个提交包含在:
Andrew Ward
2013-09-20 12:09:16 +01:00
父节点 b17c3c6ed4
当前提交 8c4807fe74

查看文件

@@ -62,7 +62,7 @@ function food.asupport(group,add)
end end
function food.item_eat(amt) function food.item_eat(amt)
if minetest.get_modpath("hud") then if minetest.get_modpath("hud") then
return hud.item_eat(hunger_change) return hud.item_eat(amt)
else else
return minetest.item_eat(amt) return minetest.item_eat(amt)
end end