mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 00:19:32 +01:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue