mirror of
https://github.com/mt-mods/biome_lib.git
synced 2024-12-25 10:20:18 +01:00
fix a couple of missing = signs
This commit is contained in:
parent
9ed4858518
commit
8ecb401309
4
init.lua
4
init.lua
@ -34,7 +34,7 @@ local function tableize(s)
|
|||||||
return string.split(string.trim(string.gsub(s, " ", "")))
|
return string.split(string.trim(string.gsub(s, " ", "")))
|
||||||
end
|
end
|
||||||
|
|
||||||
local c1 minetest.settings:get("biome_lib_default_grow_through_nodes")
|
local c1 = minetest.settings:get("biome_lib_default_grow_through_nodes")
|
||||||
biome_lib.default_grow_through_nodes = {["air"] = true}
|
biome_lib.default_grow_through_nodes = {["air"] = true}
|
||||||
if c1 then
|
if c1 then
|
||||||
for _, i in ipairs(tableize(c1)) do
|
for _, i in ipairs(tableize(c1)) do
|
||||||
@ -44,7 +44,7 @@ else
|
|||||||
biome_lib.default_grow_through_nodes["default:snow"] = true
|
biome_lib.default_grow_through_nodes["default:snow"] = true
|
||||||
end
|
end
|
||||||
|
|
||||||
local c2 minetest.settings:get("biome_lib_default_water_nodes")
|
local c2 = minetest.settings:get("biome_lib_default_water_nodes")
|
||||||
biome_lib.default_water_nodes = {}
|
biome_lib.default_water_nodes = {}
|
||||||
if c2 then
|
if c2 then
|
||||||
for _, i in ipairs(tableize(c2)) do
|
for _, i in ipairs(tableize(c2)) do
|
||||||
|
Loading…
Reference in New Issue
Block a user