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.
1 parent 22ceed3 commit 070b416Copy full SHA for 070b416
html/type/query.php
@@ -183,11 +183,13 @@
183
}
184
// Get List of Players
185
$count = 0;
186
- if (!empty($serverstatus->players)) {
187
- foreach ($serverstatus->players as $player) {
188
- $playerlist[$count]['Name'] = $player;
189
- $playerlist[$count]['Skin'] = "https://crafatar.com/avatars/". minecraftcache($player);
190
- $count++;
+ if (function_exists("minecraftcache")) {
+ if (!empty($serverstatus->players)) {
+ foreach ($serverstatus->players as $player) {
+ $playerlist[$count]['Name'] = $player;
+ $playerlist[$count]['Skin'] = "https://crafatar.com/avatars/". minecraftcache($player);
191
+ $count++;
192
+ }
193
194
195
0 commit comments