diff options
Diffstat (limited to 'src/main/java/de/cowtipper/cowlection/handler/FriendsHandler.java')
-rw-r--r-- | src/main/java/de/cowtipper/cowlection/handler/FriendsHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/cowtipper/cowlection/handler/FriendsHandler.java b/src/main/java/de/cowtipper/cowlection/handler/FriendsHandler.java index c2c6837..9034b17 100644 --- a/src/main/java/de/cowtipper/cowlection/handler/FriendsHandler.java +++ b/src/main/java/de/cowtipper/cowlection/handler/FriendsHandler.java @@ -161,7 +161,7 @@ public class FriendsHandler { for (Friend bestFriend : bestFriends) { bestFriendOnlineStatusQueue.incrementAndGet(); ApiUtils.fetchHyPlayerDetails(bestFriend, hyPlayerData -> { - if (hyPlayerData != null && hyPlayerData.getLastLogin() > hyPlayerData.getLastLogout()) { + if (hyPlayerData != null && !hyPlayerData.hasNeverLoggedOut() && hyPlayerData.getLastLogin() > hyPlayerData.getLastLogout()) { // online & not hiding their online status main.getPlayerCache().addBestFriend(bestFriend.getName()); |