Replace deprecated method 'setting_getbool' with 'settings:get_bool' (#8)

This commit is contained in:
Jordan Irwin 2017-06-07 02:17:00 -07:00 committed by LNJ
parent 7063e2b7b4
commit 5c9a7bafd0

@ -47,9 +47,9 @@ else
end end
drawers.enable_1x1 = not core.setting_getbool("drawers_disable_1x1") drawers.enable_1x1 = not core.settings:get_bool("drawers_disable_1x1")
drawers.enable_1x2 = not core.setting_getbool("drawers_disable_1x2") drawers.enable_1x2 = not core.settings:get_bool("drawers_disable_1x2")
drawers.enable_2x2 = not core.setting_getbool("drawers_disable_2x2") drawers.enable_2x2 = not core.settings:get_bool("drawers_disable_2x2")
-- --