mirror of
https://github.com/minetest-mods/drawers.git
synced 2024-11-29 18:13:43 +01:00
Replace deprecated method 'setting_getbool' with 'settings:get_bool' (#8)
This commit is contained in:
parent
7063e2b7b4
commit
5c9a7bafd0
6
init.lua
6
init.lua
@ -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")
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
|
Loading…
Reference in New Issue
Block a user