summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-05-18 05:44:39 -0400
committerGitHub <noreply@github.com>2017-05-18 05:44:39 -0400
commit9dd533f4a0bb313d50d8d67f7cdf4cce9a30ab4e (patch)
treee28816ec76c46fca836d373dc831ea3087b3bfcb
parent83261d5db41fcec3dcdb76256f0ae70404ad9f7b (diff)
parent73e05d9c7698e167b901c8c0fb816b796266dea0 (diff)
downloadunifieddyes-9dd533f4a0bb313d50d8d67f7cdf4cce9a30ab4e.tar
unifieddyes-9dd533f4a0bb313d50d8d67f7cdf4cce9a30ab4e.tar.gz
unifieddyes-9dd533f4a0bb313d50d8d67f7cdf4cce9a30ab4e.tar.bz2
unifieddyes-9dd533f4a0bb313d50d8d67f7cdf4cce9a30ab4e.tar.xz
unifieddyes-9dd533f4a0bb313d50d8d67f7cdf4cce9a30ab4e.zip
Merge pull request #9 from AntumDeluge/settings
Replace deprecated 'setting_getbool' with 'settings:get_bool'
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index e91f727..b376e1e 100644
--- a/init.lua
+++ b/init.lua
@@ -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