make /seed like mc

This commit is contained in:
AFCMS 2021-03-05 09:08:46 +01:00
parent d57db0444f
commit 68d8eb4c9c

View file

@ -117,7 +117,7 @@ minetest.register_chatcommand("seed", {
params = "", params = "",
privs = {}, privs = {},
func = function(name) func = function(name)
minetest.chat_send_player(name, minetest.get_mapgen_setting("seed")) minetest.chat_send_player(name, "Seed: "..minetest.get_mapgen_setting("seed"))
end end
}) })