diff --git a/mods/ITEMS/mcl_core/functions.lua b/mods/ITEMS/mcl_core/functions.lua index 5a181069b1..ba27b4c15f 100644 --- a/mods/ITEMS/mcl_core/functions.lua +++ b/mods/ITEMS/mcl_core/functions.lua @@ -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 diff --git a/mods/MISC/mcl_commands/init.lua b/mods/MISC/mcl_commands/init.lua index 6c0b0b798e..b3041ad06e 100644 --- a/mods/MISC/mcl_commands/init.lua +++ b/mods/MISC/mcl_commands/init.lua @@ -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 })