diff --git a/src/main/java/net/Broken/Tools/UserManager/Stats/GuildStats.java b/src/main/java/net/Broken/Tools/UserManager/Stats/GuildStats.java index 01d0115..8c77598 100644 --- a/src/main/java/net/Broken/Tools/UserManager/Stats/GuildStats.java +++ b/src/main/java/net/Broken/Tools/UserManager/Stats/GuildStats.java @@ -22,7 +22,10 @@ public class GuildStats{ public GuildStats(String userName, int rank, String avatarUrl, long voiceTime, long messageCount, long apiCount) { this.userName = userName; - this.avatarUrl = avatarUrl; + if(avatarUrl != null) + this.avatarUrl = avatarUrl; + else + this.avatarUrl = "https://discordapp.com/assets/dd4dbc0016779df1378e7812eabaa04d.png"; this.voiceTime = voiceTime; this.messageCount = messageCount; this.apiCount = apiCount;