diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-06-04 18:54:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-04 18:54:52 -0400 |
commit | c176de6cb2f8fe609c13dea2a44b7eecd47cadbd (patch) | |
tree | 95b12dcab74efea0393e633deff42e314e6e7abf | |
parent | 3ee673da2114fd9fcf3cfd42200f853ffa2530ef (diff) | |
parent | 9e9b1bec4229ab9feff94be231de5113ff0131cd (diff) |
Merge pull request #8 from AntumDeluge/settings
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")
|