diff --git a/src/main/java/us/ajg0702/queue/Manager.java b/src/main/java/us/ajg0702/queue/Manager.java index 2420a75..d869a37 100644 --- a/src/main/java/us/ajg0702/queue/Manager.java +++ b/src/main/java/us/ajg0702/queue/Manager.java @@ -56,8 +56,8 @@ public class Manager { } /** - * Returns the name of all servers - * @return The names of all servers + * Returns the name of all servers and groups + * @return The names of all servers and groups */ public List getServerNames() { List names = new ArrayList<>(); @@ -79,24 +79,24 @@ public class Manager { */ public void reloadIntervals() { if(sendId != -1) { - sendId = -1; pl.getProxy().getScheduler().cancel(sendId); + sendId = -1; } if(updateId != -1) { - updateId = -1; pl.getProxy().getScheduler().cancel(updateId); + updateId = -1; } if(messagerId != -1) { - messagerId = -1; pl.getProxy().getScheduler().cancel(messagerId); + messagerId = -1; } if(actionbarId != -1) { - actionbarId = -1; pl.getProxy().getScheduler().cancel(actionbarId); + actionbarId = -1; } if(srvRefId != -1) { - srvRefId = -1; pl.getProxy().getScheduler().cancel(srvRefId); + srvRefId = -1; } sendId = pl.getProxy().getScheduler().schedule(pl, new Runnable() {