mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-04-05 03:35:58 +02:00
Fixed player page response when no bukkit servers were online
This commit is contained in:
parent
76aac83cc9
commit
a17ab55bc1
@ -53,7 +53,7 @@ public class PlayerPageHandler extends PageHandler {
|
||||
InfoSystem.getInstance().generateAndCachePlayerPage(uuid);
|
||||
response = ResponseCache.loadResponse(PageId.PLAYER.of(uuid));
|
||||
}
|
||||
return response;
|
||||
return response != null ? response : notFound("No Bukkit servers online to perform the request.");
|
||||
} else {
|
||||
return notFound("Player has not played on this server.");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user