no bad bad badb adb
This commit is contained in:
@@ -61,6 +61,8 @@ public class Configuration {
|
||||
}
|
||||
|
||||
public static class SelfCare {
|
||||
@Getter public int checkInterval;
|
||||
|
||||
@Getter public boolean op = true;
|
||||
@Getter public boolean gamemode = true;
|
||||
@Getter public boolean endCredits = true;
|
||||
|
||||
@@ -149,7 +149,7 @@ public class SelfCarePlugin extends Bot.Listener {
|
||||
check();
|
||||
};
|
||||
|
||||
checkTask = bot.executor().scheduleAtFixedRate(task, 0, bot.chat().queueDelay(), TimeUnit.MILLISECONDS);
|
||||
checkTask = bot.executor().scheduleAtFixedRate(task, 0, bot.config().selfCare().checkInterval(), TimeUnit.MILLISECONDS);
|
||||
}
|
||||
|
||||
public void packetReceived (ClientboundGameEventPacket packet) {
|
||||
|
||||
Reference in New Issue
Block a user