mirror of
https://github.com/gamedig/node-gamedig.git
synced 2024-11-17 17:25:19 +01:00
Fix typo
This commit is contained in:
parent
f5238027c7
commit
f3b04d52d5
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ class MinecraftVanilla extends Core {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// players.sample may not contain all players or no players at all, depending on how many players are only.
|
// players.sample may not contain all players or no players at all, depending on how many players are online.
|
||||||
// Insert a dummy player object for every online player that is not listed in players.sample.
|
// Insert a dummy player object for every online player that is not listed in players.sample.
|
||||||
// Limit player amount to 10.000 players for performance reasons.
|
// Limit player amount to 10.000 players for performance reasons.
|
||||||
for (let i = state.players.length; i < Math.min(json.players.online, 10000); i++) {
|
for (let i = state.players.length; i < Math.min(json.players.online, 10000); i++) {
|
||||||
|
|
Loading…
Reference in a new issue