mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-04 00:31:54 +00:00
Server:JavaCord: Allow Displaying PlayerCount Or Server Website
This commit is contained in:
@@ -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