forked from ChomeNS/chomens-bot-java
fix mabe
This commit is contained in:
parent
00b2e5d4a9
commit
8d6c863da5
3 changed files with 1 additions and 5 deletions
src/main
java/land/chipmunk/chayapak/chomens_bot
resources
|
@ -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;
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue