mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-06 15:27:28 +00:00
Protocol: Minecraft: Rename players-related fields
This commit is contained in:
parent
4fb1350753
commit
f2ae81002e
7 changed files with 24 additions and 24 deletions
|
|
@ -110,9 +110,9 @@ impl Java {
|
|||
Ok(Response {
|
||||
version_name,
|
||||
version_protocol,
|
||||
max_players,
|
||||
online_players,
|
||||
sample_players,
|
||||
players_maximum: max_players,
|
||||
players_online: online_players,
|
||||
players_sample: sample_players,
|
||||
description: value_response["description"].to_string(),
|
||||
favicon: value_response["favicon"].as_str().map(str::to_string),
|
||||
previews_chat: value_response["previewsChat"].as_bool(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue