Skip to content

Commit

Permalink
fix: player count is now calculated based on the getPlayers response
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkAtra committed Aug 11, 2024
1 parent c0c3299 commit 3c3460b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ object ServerStatusEmbed {

field {
name = "Online count"
value = "${serverInfo.numberOfPlayers}/${serverInfo.maxPlayers}"
value = "${serverInfo.players.size}/${serverInfo.maxPlayers}"
inline = true
}

Expand Down

0 comments on commit 3c3460b

Please sign in to comment.