From 8d6e11936dd28ef0ac17037ccf1bf4195f62c577 Mon Sep 17 00:00:00 2001 From: GreenXenith <24834740+GreenXenith@users.noreply.github.com> Date: Mon, 26 Nov 2018 13:54:39 -0800 Subject: [PATCH] Remove debug --- init.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/init.lua b/init.lua index 21c1c8e..ecef261 100644 --- a/init.lua +++ b/init.lua @@ -65,18 +65,18 @@ minetest.register_craft({ }) -- former submods -if minetest.is_yes(minetest.setting_get("digilines_enable_inventory") or true) then +if minetest.is_yes(minetest.settings:get("digilines_enable_inventory") or true) then dofile(modpath .. "/inventory.lua") end -if minetest.is_yes(minetest.setting_get("digilines_enable_lcd") or true) then +if minetest.is_yes(minetest.settings:get("digilines_enable_lcd") or true) then dofile(modpath .. "/lcd.lua") end -if minetest.is_yes(minetest.setting_get("digilines_enable_lightsensor") or true) then +if minetest.is_yes(minetest.settings:get("digilines_enable_lightsensor") or true) then dofile(modpath .. "/lightsensor.lua") end -if minetest.is_yes(minetest.setting_get("digilines_enable_rtc") or true) then +if minetest.is_yes(minetest.settings:get("digilines_enable_rtc") or true) then dofile(modpath .. "/rtc.lua") end