1
0
Fork 0

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:
1F616EMO 2021-07-10 10:16:55 +08:00
parent 6e1758400e
commit d2f7d31360
Signed by untrusted user: Emojigit
GPG Key ID: 2443E5F619026B90
1 changed files with 1 additions and 1 deletions

View File

@ -453,7 +453,7 @@ function mcl_end.grow_chorus_plant_step(pos, node, pr)
end end
--- ABM --- --- ABM ---
local seed = minetest.get_mapgen_params().seed local seed = minetest.get_mapgen_setting("seed")
local pr = PseudoRandom(seed) local pr = PseudoRandom(seed)
minetest.register_abm({ minetest.register_abm({
label = "Chorus plant growth", label = "Chorus plant growth",