forked from VoxeLibre/VoxeLibre
Refactor: Drop legacy get_mapgen_params
This commit is contained in:
parent
95f62236f7
commit
022682a75e
|
@ -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
|
||||
})
|
||||
|
||||
|
|
Reference in New Issue