use of club.sk1er.website.api.requests.HypixelApiPlayer in project Hyperium by HyperiumClient.
the class StatsHandler method initStatsViewer.
public void initStatsViewer(String player) {
Multithreading.runAsync(() -> {
GeneralChatHandler.instance().sendMessage("Loading stats for: " + player);
try {
HypixelApiPlayer apiPlayer = HypixelAPI.INSTANCE.getPlayer(player).get();
new PlayerStatsGui(apiPlayer).show();
} catch (Exception e) {
e.printStackTrace();
}
});
}
Aggregations