forked from SteamWar/SteamWar
Format code
This commit is contained in:
@@ -51,7 +51,7 @@ public class EndCountdown extends StateDependent {
|
||||
|
||||
private void stop() {
|
||||
//Staggered kick to prevent lobby overloading
|
||||
if(Bukkit.getOnlinePlayers().isEmpty()){
|
||||
if (Bukkit.getOnlinePlayers().isEmpty()) {
|
||||
Bukkit.shutdown();
|
||||
return;
|
||||
}
|
||||
@@ -62,7 +62,6 @@ public class EndCountdown extends StateDependent {
|
||||
|
||||
@Override
|
||||
public void disable() {
|
||||
if (task != null && !task.isCancelled())
|
||||
task.cancel();
|
||||
if (task != null && !task.isCancelled()) task.cancel();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user