forked from mtcontrib/moretrees
follow minetest lua code style guidelines
This commit is contained in:
parent
ba2cd3d9b8
commit
e5524c007d
4
init.lua
4
init.lua
|
@ -51,8 +51,8 @@ end
|
|||
|
||||
-- infinite stacks checking
|
||||
|
||||
if minetest.get_modpath"unified_inventory"
|
||||
or not minetest.settings:get_bool"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