update src/main/resources/default_config.yaml

This commit is contained in:
Parker2991
2026-03-29 13:11:55 -05:00
parent 24e981fc9e
commit 0f219ce5f6
2 changed files with 2 additions and 1 deletions
@@ -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();
+1
View File
@@ -2,3 +2,4 @@ bots:
- host: "localhost"
port: 25565
username: "meow"
reconnectDelay: 6000