This commit is contained in:
ChomeNS
2023-06-05 14:19:26 +07:00
parent 00b2e5d4a9
commit 8d6c863da5
3 changed files with 1 additions and 5 deletions

View File

@@ -71,8 +71,6 @@ 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;

View File

@@ -148,7 +148,7 @@ public class SelfCarePlugin extends Bot.Listener {
check();
};
checkTask = bot.executor().scheduleAtFixedRate(task, 0, bot.config().selfCare().checkInterval(), TimeUnit.MILLISECONDS);
checkTask = bot.executor().scheduleAtFixedRate(task, 0, bot.options().chatQueueDelay() + 75, TimeUnit.MILLISECONDS);
}
public void packetReceived (ClientboundGameEventPacket packet) {