mirror of
https://github.com/mt-mods/plantlife_modpack.git
synced 2024-11-15 23:00:38 +01:00
Added default setting for seed_diff (0). Accidentally left it out, it is
needed to allow old mods to use the new function without changes.
This commit is contained in:
parent
ae0374cfc5
commit
af7c2894ae
|
@ -91,6 +91,7 @@ end
|
|||
-- The spawning ABM
|
||||
|
||||
spawn_on_surfaces = function(sdelay, splant, sradius, schance, ssurface, savoid, seed_diff, lightmin, lightmax, nneighbors, ocount)
|
||||
if seed_diff == nil then seed_diff = 0 end
|
||||
if lightmin == nil then lightmin = 0 end
|
||||
if lightmax == nil then lightmax = LIGHT_MAX end
|
||||
if nneighbors == nil then nneighbors = ssurface end
|
||||
|
|
Loading…
Reference in New Issue
Block a user