aboutsummaryrefslogtreecommitdiff
path: root/stairsplus
diff options
context:
space:
mode:
authorAntumDeluge <antumdeluge@gmail.com>2017-05-12 19:12:56 -0700
committersofar <sofar+github@foo-projects.org>2017-08-12 14:08:24 -0700
commit7347b05e3ee576228585a9a46ad1d106784a13d4 (patch)
tree457a71c801701bb18b64a6384b5f3f3a1f50f6db /stairsplus
parentacd570ba0d74cf6352d9c618066054c36c3095f9 (diff)
downloadmoreblocks-7347b05e3ee576228585a9a46ad1d106784a13d4.tar.gz
moreblocks-7347b05e3ee576228585a9a46ad1d106784a13d4.tar.bz2
moreblocks-7347b05e3ee576228585a9a46ad1d106784a13d4.zip
Replace deprecated methods:
- 'setting_get' with 'settings:get' - 'setting_getbool' with 'settings:get_bool'
Diffstat (limited to 'stairsplus')
-rw-r--r--stairsplus/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/stairsplus/init.lua b/stairsplus/init.lua
index 598f21c..5cd415c 100644
--- a/stairsplus/init.lua
+++ b/stairsplus/init.lua
@@ -15,7 +15,7 @@ stairsplus.expect_infinite_stacks = false
stairsplus.shapes_list = {}
if not minetest.get_modpath("unified_inventory")
-and minetest.setting_getbool("creative_mode") then
+and minetest.settings:get_bool("creative_mode") then
stairsplus.expect_infinite_stacks = true
end