mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-06-28 14:16:06 +02:00
Updated hud/hunger while saving our modifications
- Splitted hud into two mods : hud and hunger
This commit is contained in:
@ -113,8 +113,8 @@ end
|
||||
function food.item_eat(amt)
|
||||
if minetest.get_modpath("diet") then
|
||||
return diet.item_eat(amt)
|
||||
elseif minetest.get_modpath("hud") then
|
||||
return hud.item_eat(amt)
|
||||
elseif minetest.get_modpath("hunger") then
|
||||
return hunger.item_eat(amt)
|
||||
else
|
||||
return minetest.item_eat(amt)
|
||||
end
|
||||
|
@ -1,3 +1,4 @@
|
||||
hunger
|
||||
animalmaterials?
|
||||
bushes_classic?
|
||||
default?
|
||||
|
Reference in New Issue
Block a user