diff --git a/protocols/minecraftvanilla.js b/protocols/minecraftvanilla.js index c55294e..7ea0a4b 100644 --- a/protocols/minecraftvanilla.js +++ b/protocols/minecraftvanilla.js @@ -54,9 +54,10 @@ class MinecraftVanilla extends Core { name: player.name }); } - } - for (let i = 0; i < Math.min(json.players.online, 10000); i++) { - state.players.push({}); + } else { + for (let i = 0; i < Math.min(json.players.online, 10000); i++) { + state.players.push({}); + } } }