make /seed like mc
This commit is contained in:
parent
d57db0444f
commit
68d8eb4c9c
|
@ -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
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue