Unify server pinging implementations between app and backend (#5510)
* Improve ping impl to bring parity to app lib impl * Fix issue with new impl * fix labrinth compile * wip: why do servers not provide server info.. * Fix ping impl overriding port * fix theseus_gui * remove unneeded recursion lmit
This commit is contained in:
@@ -423,11 +423,11 @@ pub struct JavaServerPingData {
|
||||
/// Reported version protocol number of the server.
|
||||
pub version_protocol: i32,
|
||||
/// Description/MOTD of the server as shown in the server list.
|
||||
pub description: String,
|
||||
pub description: Option<serde_json::Value>,
|
||||
/// Number of players online at the time.
|
||||
pub players_online: i32,
|
||||
pub players_online: Option<i32>,
|
||||
/// Maximum number of players allowed on the server.
|
||||
pub players_max: i32,
|
||||
pub players_max: Option<i32>,
|
||||
}
|
||||
|
||||
component::relations! {
|
||||
|
||||
Reference in New Issue
Block a user