Fix /seed giving wrong seed

This commit is contained in:
Wuzzy 2018-01-16 20:58:54 +01:00
parent 81d5d8b942
commit d61da938f4

View file

@ -141,7 +141,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_setting("seed"))) minetest.chat_send_player(name, minetest.get_mapgen_setting("seed"))
end end
}) })