From 965973c0139b746e1726f539d32e014d134d4fa2 Mon Sep 17 00:00:00 2001 From: asanetargoss Date: Sun, 28 Jun 2015 14:05:58 -0700 Subject: [PATCH] Fix typo when checking if hbhunger is installed --- food/init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/food/init.lua b/food/init.lua index 5fb0214..6694ab0 100644 --- a/food/init.lua +++ b/food/init.lua @@ -106,9 +106,9 @@ function food.item_eat(amt) return diet.item_eat(amt) elseif minetest.get_modpath("hud") and hud and hud.item_eat then return hud.item_eat(amt) - elseif minetest.get_modpath("hphunger") then - if hphunger then - return hphunger.item_eat(amt) + elseif minetest.get_modpath("hbhunger") then + if hbhunger then + return hbhunger.item_eat(amt) else return hunger.item_eat(amt) end