1
0
Fork 0
This commit is contained in:
Chayapak 2023-06-05 14:19:26 +07:00
parent 00b2e5d4a9
commit 8d6c863da5
3 changed files with 1 additions and 5 deletions
src/main
java/land/chipmunk/chayapak/chomens_bot
resources

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) {

View file

@ -57,8 +57,6 @@ core:
customName: '[{"text":"ChomeNS ","color":"yellow"},{"text":"Core","color":"green"},{"text":"™","color":"gold"}]'
selfCare:
checkInterval: 450
# vanilla
op: true
gamemode: true