mirror of
https://code.chipmunk.land/Parker2991/NitoriBot/
synced 2026-11-29 13:45:38 -05:00
update src/main/resources/default_config.yaml
This commit is contained in:
@@ -106,7 +106,7 @@ public class Bot extends SessionAdapter {
|
||||
String reason = ComponentUtil.componentToAnsi(component);
|
||||
Component host = Component.text(options.host + ":" + options.port);
|
||||
LoggerManager.RECONNECT(host, reason);
|
||||
long reconnectDelay = options.reconnectDelay;
|
||||
int reconnectDelay = options.reconnectDelay;
|
||||
|
||||
executor.schedule(() -> connect(), reconnectDelay, TimeUnit.MILLISECONDS);
|
||||
/*Timer timer = new Timer();
|
||||
|
||||
@@ -2,3 +2,4 @@ bots:
|
||||
- host: "localhost"
|
||||
port: 25565
|
||||
username: "meow"
|
||||
reconnectDelay: 6000
|
||||
|
||||
Reference in New Issue
Block a user