mirror of
https://github.com/mt-mods/unifieddyes.git
synced 2025-02-16 18:02:23 +01:00
Replace deprecated 'setting_getbool' with 'settings:get_bool'
This commit is contained in:
2
init.lua
2
init.lua
@ -33,7 +33,7 @@ unifieddyes = {}
|
|||||||
unifieddyes.last_used_dye = {}
|
unifieddyes.last_used_dye = {}
|
||||||
unifieddyes.last_dyed_node = {}
|
unifieddyes.last_dyed_node = {}
|
||||||
|
|
||||||
local creative_mode = minetest.setting_getbool("creative_mode")
|
local creative_mode = minetest.settings:get_bool("creative_mode")
|
||||||
|
|
||||||
-- Boilerplate to support localized strings if intllib mod is installed.
|
-- Boilerplate to support localized strings if intllib mod is installed.
|
||||||
local S
|
local S
|
||||||
|
Reference in New Issue
Block a user