diff --git a/matchinfo.php b/matchinfo.php index 587bcbc..6ddc9cc 100644 --- a/matchinfo.php +++ b/matchinfo.php @@ -19,7 +19,7 @@ if (isset($_GET['matchid'])) { // Loop through the JSON data to extract player stats foreach ($jsonData['included'] as $includedItem) { - + if ($includedItem['type'] == "participant"){ $playerStats = $includedItem['attributes']['stats']; echo "