Server projects post launch fixes (#5481)

* Vendor async-minecraft-ping and fix servers returning protocol version -1

* Don't have automod reject server projects

* fmt

* Add region to search facets

* remove AMP .github
This commit is contained in:
aecsocket
2026-03-08 00:17:38 +00:00
committed by GitHub
parent 507d03eeba
commit ace2659861
20 changed files with 1836 additions and 25 deletions

View File

@@ -973,8 +973,8 @@ async fn _get_server_status_new(
};
let players = ServerPlayers {
max: status.players.max.cast_signed(),
online: status.players.online.cast_signed(),
max: status.players.max,
online: status.players.online,
sample: status
.players
.sample

View File

@@ -43,7 +43,7 @@ pub struct ServerGameProfile {
#[derive(Deserialize, Serialize, Debug, Clone)]
pub struct ServerVersion {
pub name: String,
pub protocol: u32,
pub protocol: i32,
#[serde(skip_deserializing)]
pub legacy: bool,
}