We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7824404 + 6073f10 commit aa443d4Copy full SHA for aa443d4
src/Syntax/SteamApi/Steam/User.php
@@ -166,7 +166,9 @@ protected function convertToObjects($players)
166
$cleanedPlayers = [];
167
168
foreach ($players as $player) {
169
- $cleanedPlayers[] = new PlayerContainer($player);
+ if(property_exists($player, 'steamid')) {
170
+ $cleanedPlayers[] = new PlayerContainer($player);
171
+ }
172
}
173
174
return $cleanedPlayers;
0 commit comments