diff options
author | AntumDeluge <antumdeluge@gmail.com> | 2017-05-12 18:54:11 -0700 |
---|---|---|
committer | AntumDeluge <antumdeluge@gmail.com> | 2017-05-20 16:23:44 -0700 |
commit | 9e9b1bec4229ab9feff94be231de5113ff0131cd (patch) | |
tree | 95b12dcab74efea0393e633deff42e314e6e7abf | |
parent | 3ee673da2114fd9fcf3cfd42200f853ffa2530ef (diff) | |
download | currency-9e9b1bec4229ab9feff94be231de5113ff0131cd.tar.gz currency-9e9b1bec4229ab9feff94be231de5113ff0131cd.tar.bz2 currency-9e9b1bec4229ab9feff94be231de5113ff0131cd.zip |
Replace deprecated 'setting_getbool' with 'settings:get_bool'
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16,7 +16,7 @@ minetest.log("info", "[Currency] "..S("Safe Loaded!")) dofile(modpath.."/crafting.lua")
minetest.log("info", "[Currency] "..S("Crafting Loaded!"))
-if minetest.setting_getbool("creative_mode") then
+if minetest.settings:get_bool("creative_mode") then
minetest.log("info", "[Currency] "..S("Creative mode in use, skipping basic income."))
else
dofile(modpath.."/income.lua")
|