Fixed luacheck warnings
This commit is contained in:
parent
ab578aa8e2
commit
3cad1c0bef
|
@ -130,7 +130,8 @@ moretrees.dates_item_drop_ichance = 10 -- inverse probability of ripe dates dr
|
|||
moretrees.sapling_interval = 100
|
||||
moretrees.sapling_chance = 5
|
||||
|
||||
-- Enable this only if you have used an old moretrees version which was using biome_lib and when you notice large areas with ongen saplings that don't grow
|
||||
-- Enable this only if you have used an old moretrees version which was using biome_lib
|
||||
-- and when you notice large areas with ongen saplings that don't grow
|
||||
moretrees.grow_legacy_saplings = false
|
||||
|
||||
-- If this variable is set to true, drop leaves out as entities during leaf
|
||||
|
|
|
@ -471,7 +471,15 @@ for i in ipairs(moretrees.treelist) do
|
|||
})
|
||||
end
|
||||
|
||||
local ongen_groups = {snappy=2,dig_immediate=3,flammable=2,attached_node=1,sapling=1,moretrees_ongen=1,not_in_creative_inventory=1}
|
||||
local ongen_groups = {
|
||||
snappy=2,
|
||||
dig_immediate=3,
|
||||
flammable=2,
|
||||
attached_node=1,
|
||||
sapling=1,
|
||||
moretrees_ongen=1,
|
||||
not_in_creative_inventory=1
|
||||
}
|
||||
if minetest.settings:get_bool("creative_mode", false) then
|
||||
ongen_groups["not_in_creative_inventory"]=nil
|
||||
end
|
||||
|
|
|
@ -74,7 +74,8 @@ moretrees.dates_item_drop_ichance = tonumber(stg:get("moretrees.dates_item_drop_
|
|||
moretrees.sapling_interval = 100
|
||||
moretrees.sapling_chance = 5
|
||||
|
||||
-- Enable this only if you have used an old moretrees version which was using biome_lib and when you notice large areas with ongen saplings that don't grow
|
||||
-- Enable this only if you have used an old moretrees version which was using biome_lib
|
||||
-- and when you notice large areas with ongen saplings that don't grow
|
||||
moretrees.grow_legacy_saplings = stg:get_bool("moretrees.grow_legacy_saplings", false)
|
||||
|
||||
-- If this variable is set to true, drop leaves out as entities during leaf
|
||||
|
|
Loading…
Reference in New Issue