From e793571845d35b005e335f2177d7d5d4993feb07 Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Fri, 23 Dec 2016 12:39:24 +0100 Subject: [PATCH] Made the restart counter show seconds... --- src/main/java/buttondevteam/core/ScheduledRestartCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/buttondevteam/core/ScheduledRestartCommand.java b/src/main/java/buttondevteam/core/ScheduledRestartCommand.java index cc930b7..dd839c3 100644 --- a/src/main/java/buttondevteam/core/ScheduledRestartCommand.java +++ b/src/main/java/buttondevteam/core/ScheduledRestartCommand.java @@ -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);