mirror of
https://github.com/mt-mods/moretrees.git
synced 2025-06-30 23:20:45 +02:00
follow minetest lua code style guidelines
This commit is contained in:
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
|
||||
|
Reference in New Issue
Block a user