forked from mtcontrib/moretrees
Merge pull request #41 from HybridDog/settingfix
Use new setting function to fix a warning
This commit is contained in:
commit
324155f805
3
init.lua
3
init.lua
@ -51,7 +51,8 @@ end
|
||||
|
||||
-- infinite stacks checking
|
||||
|
||||
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
|
||||
moretrees.expect_infinite_stacks = false
|
||||
else
|
||||
moretrees.expect_infinite_stacks = true
|
||||
|
Loading…
Reference in New Issue
Block a user