forked from VoxeLibre/VoxeLibre
Hunger: Remove file loading code
This commit is contained in:
parent
748e4b5e94
commit
d21eefbb78
|
@ -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 New Issue