1.6.6
This commit is contained in:
@@ -56,8 +56,8 @@ public class Manager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the name of all servers
|
* Returns the name of all servers and groups
|
||||||
* @return The names of all servers
|
* @return The names of all servers and groups
|
||||||
*/
|
*/
|
||||||
public List<String> getServerNames() {
|
public List<String> getServerNames() {
|
||||||
List<String> names = new ArrayList<>();
|
List<String> names = new ArrayList<>();
|
||||||
@@ -79,24 +79,24 @@ public class Manager {
|
|||||||
*/
|
*/
|
||||||
public void reloadIntervals() {
|
public void reloadIntervals() {
|
||||||
if(sendId != -1) {
|
if(sendId != -1) {
|
||||||
sendId = -1;
|
|
||||||
pl.getProxy().getScheduler().cancel(sendId);
|
pl.getProxy().getScheduler().cancel(sendId);
|
||||||
|
sendId = -1;
|
||||||
}
|
}
|
||||||
if(updateId != -1) {
|
if(updateId != -1) {
|
||||||
updateId = -1;
|
|
||||||
pl.getProxy().getScheduler().cancel(updateId);
|
pl.getProxy().getScheduler().cancel(updateId);
|
||||||
|
updateId = -1;
|
||||||
}
|
}
|
||||||
if(messagerId != -1) {
|
if(messagerId != -1) {
|
||||||
messagerId = -1;
|
|
||||||
pl.getProxy().getScheduler().cancel(messagerId);
|
pl.getProxy().getScheduler().cancel(messagerId);
|
||||||
|
messagerId = -1;
|
||||||
}
|
}
|
||||||
if(actionbarId != -1) {
|
if(actionbarId != -1) {
|
||||||
actionbarId = -1;
|
|
||||||
pl.getProxy().getScheduler().cancel(actionbarId);
|
pl.getProxy().getScheduler().cancel(actionbarId);
|
||||||
|
actionbarId = -1;
|
||||||
}
|
}
|
||||||
if(srvRefId != -1) {
|
if(srvRefId != -1) {
|
||||||
srvRefId = -1;
|
|
||||||
pl.getProxy().getScheduler().cancel(srvRefId);
|
pl.getProxy().getScheduler().cancel(srvRefId);
|
||||||
|
srvRefId = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
sendId = pl.getProxy().getScheduler().schedule(pl, new Runnable() {
|
sendId = pl.getProxy().getScheduler().schedule(pl, new Runnable() {
|
||||||
|
|||||||
Reference in New Issue
Block a user