Fix to show Discord Activity on plugin start.

This commit is contained in:
Timothy Roe, Jr 2020-04-19 00:49:17 -07:00
parent 8cb168260a
commit 4c93c3b3cb

View File

@ -119,6 +119,7 @@ public class DiscordWhitelister extends JavaPlugin implements Listener
}
this.getServer().getPluginManager().registerEvents(this, this);
DiscordClient.onServerPlayerCountChange(getOnlineUsers());
}