From 4c93c3b3cb38a4a7cb2e71e1e42569b064c34326 Mon Sep 17 00:00:00 2001 From: "Timothy Roe, Jr" Date: Sun, 19 Apr 2020 00:49:17 -0700 Subject: [PATCH] Fix to show Discord Activity on plugin start. --- src/main/java/uk/co/angrybee/joe/DiscordWhitelister.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/uk/co/angrybee/joe/DiscordWhitelister.java b/src/main/java/uk/co/angrybee/joe/DiscordWhitelister.java index e810aa6..f354e83 100755 --- a/src/main/java/uk/co/angrybee/joe/DiscordWhitelister.java +++ b/src/main/java/uk/co/angrybee/joe/DiscordWhitelister.java @@ -119,6 +119,7 @@ public class DiscordWhitelister extends JavaPlugin implements Listener } this.getServer().getPluginManager().registerEvents(this, this); + DiscordClient.onServerPlayerCountChange(getOnlineUsers()); }