1
0
Fork 0

Refactor: Drop legacy get_mapgen_params

This commit is contained in:
Wuzzy 2017-08-18 21:25:29 +02:00
parent 95f62236f7
commit 022682a75e
2 changed files with 2 additions and 2 deletions

View File

@ -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 -- Spread grass blocks and mycelium on neighbor dirt

View File

@ -138,7 +138,7 @@ minetest.register_chatcommand("seed", {
params = "", params = "",
privs = {}, privs = {},
func = function(name) 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 end
}) })