From 5c9a7bafd0a2c804064e137f3a7cb11321e80a93 Mon Sep 17 00:00:00 2001 From: Jordan Irwin Date: Wed, 7 Jun 2017 02:17:00 -0700 Subject: Replace deprecated method 'setting_getbool' with 'settings:get_bool' (#8) --- init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/init.lua b/init.lua index 2df4b18..fd66846 100755 --- a/init.lua +++ b/init.lua @@ -47,9 +47,9 @@ else end -drawers.enable_1x1 = not core.setting_getbool("drawers_disable_1x1") -drawers.enable_1x2 = not core.setting_getbool("drawers_disable_1x2") -drawers.enable_2x2 = not core.setting_getbool("drawers_disable_2x2") +drawers.enable_1x1 = not core.settings:get_bool("drawers_disable_1x1") +drawers.enable_1x2 = not core.settings:get_bool("drawers_disable_1x2") +drawers.enable_2x2 = not core.settings:get_bool("drawers_disable_2x2") -- -- cgit v1.2.3