summaryrefslogtreecommitdiff
path: root/currency/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'currency/init.lua')
-rw-r--r--currency/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/currency/init.lua b/currency/init.lua
index fa85bd2..6dbf3a9 100644
--- a/currency/init.lua
+++ b/currency/init.lua
@@ -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")