Server:JavaCord: Allow Displaying PlayerCount Or Server Website
This commit is contained in:
1 parent
ab3b1e9731
commit
a693615e2e
3 files changed
+10
-2
No files matched your search
@@ -239,7 +239,9 @@ public class GameEngine {
|
||||
if(GameConstants.WEBSITE_TOTAL_CHARACTERS_INTEGRATION) {
|
||||
RegisteredAccsWebsite.addUpdateRegisteredUsersTask();
|
||||
}
|
||||
DiscordActivity.updateActivity();
|
||||
if(DiscordActivity.playerCount) {
|
||||
DiscordActivity.updateActivity();
|
||||
}
|
||||
if (System.currentTimeMillis() - lastMassSave > 300000) {
|
||||
for (Player p : PlayerHandler.players) {
|
||||
if (p == null) {
|
||||
|
||||
Reference in new issue
Block a user