From d21eefbb784e7789763fded75c1d972037ae5cb5 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 6 Jun 2017 17:12:21 +0200 Subject: [PATCH] Hunger: Remove file loading code --- mods/PLAYER/mcl_hunger/init.lua | 7 ------- 1 file changed, 7 deletions(-) diff --git a/mods/PLAYER/mcl_hunger/init.lua b/mods/PLAYER/mcl_hunger/init.lua index 7f9edd98..ec4e3bf3 100644 --- a/mods/PLAYER/mcl_hunger/init.lua +++ b/mods/PLAYER/mcl_hunger/init.lua @@ -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