1
0
mirror of https://github.com/mt-mods/biome_lib.git synced 2024-12-25 02:10:18 +01:00

fix a couple of missing = signs

This commit is contained in:
Vanessa Dannenberg 2021-04-05 11:21:22 -04:00
parent 9ed4858518
commit 8ecb401309

View File

@ -34,7 +34,7 @@ local function tableize(s)
return string.split(string.trim(string.gsub(s, " ", "")))
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}
if c1 then
for _, i in ipairs(tableize(c1)) do
@ -44,7 +44,7 @@ else
biome_lib.default_grow_through_nodes["default:snow"] = true
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 = {}
if c2 then
for _, i in ipairs(tableize(c2)) do