Made the restart counter show seconds...
This commit is contained in:
parent
60d6a03236
commit
e793571845
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ public class ScheduledRestartCommand extends TBMCCommandBase {
|
|||
Bukkit.spigot().restart();
|
||||
}
|
||||
if (restartcounter % 200 == 0)
|
||||
Bukkit.broadcastMessage("§c-- The server is restarting in " + restartcounter);
|
||||
Bukkit.broadcastMessage("§c-- The server is restarting in " + restartcounter / 20 + " seconds!");
|
||||
restartbar.setProgress(restartcounter / restarttime);
|
||||
restartcounter--;
|
||||
}, 1, 1);
|
||||
|
|
Loading…
Reference in a new issue