summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntumDeluge <antumdeluge@gmail.com>2017-05-12 19:02:06 -0700
committerAntumDeluge <antumdeluge@gmail.com>2017-05-13 16:55:37 -0700
commit73e05d9c7698e167b901c8c0fb816b796266dea0 (patch)
tree3dac0da269854469e853526adfb04f73b7d4b4a1
parentdf177c26a75ec1880704b24dafe402cfe91cfe33 (diff)
downloadunifieddyes-73e05d9c7698e167b901c8c0fb816b796266dea0.tar
unifieddyes-73e05d9c7698e167b901c8c0fb816b796266dea0.tar.gz
unifieddyes-73e05d9c7698e167b901c8c0fb816b796266dea0.tar.bz2
unifieddyes-73e05d9c7698e167b901c8c0fb816b796266dea0.tar.xz
unifieddyes-73e05d9c7698e167b901c8c0fb816b796266dea0.zip
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 9b85903..3df6376 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