forked from VoxeLibre/VoxeLibre
Fix warning in `mcl_end`
This fixes: ``` 2021-07-10 10:00:58: WARNING[Main]: get_mapgen_params is deprecated; use get_mapgen_setting instead (at .../../games/MineClone2/mods/ITEMS/mcl_end/chorus_plant.lua:456) ```
This commit is contained in:
parent
6e1758400e
commit
d2f7d31360
|
@ -453,7 +453,7 @@ function mcl_end.grow_chorus_plant_step(pos, node, pr)
|
|||
end
|
||||
|
||||
--- ABM ---
|
||||
local seed = minetest.get_mapgen_params().seed
|
||||
local seed = minetest.get_mapgen_setting("seed")
|
||||
local pr = PseudoRandom(seed)
|
||||
minetest.register_abm({
|
||||
label = "Chorus plant growth",
|
||||
|
|
Loading…
Reference in New Issue