Merge pull request #9 from AntumDeluge/settings

Replace deprecated 'setting_getbool' with 'settings:get_bool'
This commit is contained in:
Vanessa Ezekowitz 2017-05-18 05:44:39 -04:00 committed by GitHub
commit 9dd533f4a0

View File

@ -33,7 +33,7 @@ unifieddyes = {}
unifieddyes.last_used_dye = {}
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.
local S