mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-04 23:31:05 +01:00
Hunger: Remove file loading code
This commit is contained in:
parent
748e4b5e94
commit
d21eefbb78
1 changed files with 0 additions and 7 deletions
|
@ -56,13 +56,6 @@ mcl_hunger.last_eat = {}
|
|||
-- HUD item ids
|
||||
local hunger_hud = {}
|
||||
|
||||
--load custom settings
|
||||
local set = io.open(minetest.get_modpath("mcl_hunger").."/mcl_hunger.conf", "r")
|
||||
if set then
|
||||
dofile(minetest.get_modpath("mcl_hunger").."/mcl_hunger.conf")
|
||||
set:close()
|
||||
end
|
||||
|
||||
local function init_hud(player)
|
||||
hb.init_hudbar(player, "hunger", mcl_hunger.get_hunger(player))
|
||||
if mcl_hunger.debug then
|
||||
|
|
Loading…
Reference in a new issue