fix: hopefully fix discord ticker breaking ???

This commit is contained in:
ChomeNS
2025-03-17 07:54:43 +07:00
parent 60350a1adb
commit e02de9232d
5 changed files with 7 additions and 7 deletions

View File

@@ -165,7 +165,7 @@ public class Bot extends SessionAdapter {
this.playersDatabase = new PlayersDatabasePlugin(this);
this.ipFilter = new IPFilterPlugin(this);
for (Listener listener : listeners) listener.loadedPlugins();
for (Listener listener : listeners) listener.loadedPlugins(this);
reconnect();
}
@@ -402,6 +402,6 @@ public class Bot extends SessionAdapter {
public static class Listener extends SessionAdapter {
public void connecting () {}
public void loadedPlugins () {}
public void loadedPlugins (Bot bot) {}
}
}