diff options
author | rubenwardy <rubenwardy@gmail.com> | 2015-06-28 22:46:40 +0100 |
---|---|---|
committer | rubenwardy <rubenwardy@gmail.com> | 2015-06-28 22:46:40 +0100 |
commit | f634d57d4aa4ea8af9a9c8cb7a0d49960258bb8f (patch) | |
tree | c4c8e8db40577988e9d62a26c2a326e0aca443ad | |
parent | 24d05b7aed263fa58f0add0203b0ad439bfc69fc (diff) | |
parent | 965973c0139b746e1726f539d32e014d134d4fa2 (diff) |
Merge pull request #22 from asanetargoss/master
Fix typo when checking if hbhunger is installed
-rw-r--r-- | food/init.lua | 6 |
1 files 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 |