diff options
author | AntumDeluge <antumdeluge@gmail.com> | 2017-05-12 19:12:56 -0700 |
---|---|---|
committer | sofar <sofar+github@foo-projects.org> | 2017-08-12 14:08:24 -0700 |
commit | 7347b05e3ee576228585a9a46ad1d106784a13d4 (patch) | |
tree | 457a71c801701bb18b64a6384b5f3f3a1f50f6db /stairsplus | |
parent | acd570ba0d74cf6352d9c618066054c36c3095f9 (diff) | |
download | moreblocks-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.lua | 2 |
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 |