Add mapseed to get_server_info table

pull/61/head
cora 2023-06-15 19:40:02 +02:00
parent f8fd5c11b6
commit 7a59bcda75
1 changed files with 2 additions and 0 deletions

View File

@ -332,6 +332,8 @@ int ModApiClient::l_get_server_info(lua_State *L)
lua_setfield(L, -2, "port");
lua_pushinteger(L, client->getProtoVersion());
lua_setfield(L, -2, "protocol_version");
lua_pushinteger(L, client->getMapSeed());
lua_setfield(L, -2, "seed");
return 1;
}