fix /mcstatus command not showing player list even though it can
@@ -129,7 +129,7 @@ class Minecraft(commands.Cog):
player_list_cut = player_list[:24]
- if jj['version']['method'] != 'query' or len(player_list_cut) < 1:
+ if len(player_list_cut) < 1:
embed.add_field(
name=ctx.l.minecraft.mcping.field_online_players.name.format(players_online, jj['players_max']),
value=ctx.l.minecraft.mcping.field_online_players.value,
@@ -185,7 +185,7 @@ class Minecraft(commands.Cog):
player_list_cut = player_list[:24]
- if jj['version']['method'] != 'query' or len(player_list_cut) < 1:
+ if len(player_list_cut) < 1:
embed.add_field(
name=ctx.l.minecraft.mcping.field_online_players.name.format(players_online, jj['players_max']),
value=ctx.l.minecraft.mcping.field_online_players.value,
