When I use the update command, the timer appears but it doesn't countdown. It just simply stays at "System update in: X:XX"
Command that I'm using:
Code:
if(client.getPrivileges() == 3) {
PlayerManager.updateSeconds = (Integer.parseInt(command.substring(7)));
PlayerManager.updateAnnounced = false;
PlayerManager.updateRunning = true;
PlayerManager.updateStartTime = System.currentTimeMillis();
GameEngine.getGlobalActions().sendMessage("System updating...");
}
Source: Project No-Doze by Killamess (Shard based)
Anyone any idea on why this is happening and how to fix it?