mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-22 16:09:33 +01:00
Refactor: Drop legacy get_mapgen_params
This commit is contained in:
parent
95f62236f7
commit
022682a75e
2 changed files with 2 additions and 2 deletions
|
@ -642,7 +642,7 @@ end
|
|||
|
||||
|
||||
|
||||
local grass_spread_randomizer = PseudoRandom(minetest.get_mapgen_params().seed)
|
||||
local grass_spread_randomizer = PseudoRandom(minetest.get_mapgen_setting("seed"))
|
||||
|
||||
------------------------------
|
||||
-- Spread grass blocks and mycelium on neighbor dirt
|
||||
|
|
|
@ -138,7 +138,7 @@ minetest.register_chatcommand("seed", {
|
|||
params = "",
|
||||
privs = {},
|
||||
func = function(name)
|
||||
minetest.chat_send_player(name, string.format("%d", minetest.get_mapgen_params().seed))
|
||||
minetest.chat_send_player(name, string.format("%d", minetest.get_mapgen_setting("seed")))
|
||||
end
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue