Add mapseed to get_server_info table
parent
f8fd5c11b6
commit
7a59bcda75
|
@ -332,6 +332,8 @@ int ModApiClient::l_get_server_info(lua_State *L)
|
||||||
lua_setfield(L, -2, "port");
|
lua_setfield(L, -2, "port");
|
||||||
lua_pushinteger(L, client->getProtoVersion());
|
lua_pushinteger(L, client->getProtoVersion());
|
||||||
lua_setfield(L, -2, "protocol_version");
|
lua_setfield(L, -2, "protocol_version");
|
||||||
|
lua_pushinteger(L, client->getMapSeed());
|
||||||
|
lua_setfield(L, -2, "seed");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue