forked from MineClone5/MineClone5
Fix /seed giving wrong seed
This commit is contained in:
parent
81d5d8b942
commit
d61da938f4
|
@ -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
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue