1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2024-11-05 01:40:31 +01:00

copy&paste bugfix, biome.seed_diff at line 375 should be just seeddiff.

This commit is contained in:
Vanessa Ezekowitz 2013-02-24 01:55:03 -05:00
parent 199fa00b0b
commit e88c54213f

View File

@ -372,7 +372,7 @@ function plantslib:replace_object(pos, replacement, grow_function, walldir, seed
plantslib:grow_tree(pos, grow_function)
return
elseif growtype == "string" then
local perlin1 = minetest.env:get_perlin(biome.seed_diff, perlin_octaves, perlin_persistence, perlin_scale)
local perlin1 = minetest.env:get_perlin(seeddiff, perlin_octaves, perlin_persistence, perlin_scale)
local noise1 = perlin1:get2d({x=p_top.x, y=p_top.z})
local noise2 = plantslib.perlin_temperature:get2d({x=p_top.x, y=p_top.z})
plantslib:dbg("Grow: call function "..grow_function.."("..dump(pos)..","..noise1..","..noise2..","..dump(walldir)..")")