forked from mtcontrib/pipeworks
Replace deprecated methods: (#179)
- 'setting_get' with 'settings:get' - 'setting_getbool' with 'settings:get_bool'
This commit is contained in:
committed by
Vanessa Ezekowitz
parent
7d70d79cda
commit
69d994a2a2
2
init.lua
2
init.lua
@ -26,7 +26,7 @@ end
|
||||
-- Random variables
|
||||
|
||||
pipeworks.expect_infinite_stacks = true
|
||||
if minetest.get_modpath("unified_inventory") or not minetest.setting_getbool("creative_mode") then
|
||||
if minetest.get_modpath("unified_inventory") or not minetest.settings:get_bool("creative_mode") then
|
||||
pipeworks.expect_infinite_stacks = false
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user