diff options
author | hackthetime <l4bg0jb7@duck.com> | 2023-10-04 09:07:14 +0200 |
---|---|---|
committer | hackthetime <l4bg0jb7@duck.com> | 2023-10-04 09:07:14 +0200 |
commit | a4aabb5cbd29fda0f8c6aeac867602528e4fd618 (patch) | |
tree | c3ac83668b8bc630eeb419510430e5de602a7836 /src/main/java/de/hype/bbsentials/communication | |
parent | 271be1bd2fbb510d4aa2ab14e848a7b2dbf6a181 (diff) | |
download | BBsentials-a4aabb5cbd29fda0f8c6aeac867602528e4fd618.tar.gz BBsentials-a4aabb5cbd29fda0f8c6aeac867602528e4fd618.tar.bz2 BBsentials-a4aabb5cbd29fda0f8c6aeac867602528e4fd618.zip |
tried fixing the splash update listener
Diffstat (limited to 'src/main/java/de/hype/bbsentials/communication')
-rw-r--r-- | src/main/java/de/hype/bbsentials/communication/BBsentialConnection.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/de/hype/bbsentials/communication/BBsentialConnection.java b/src/main/java/de/hype/bbsentials/communication/BBsentialConnection.java index abb5265..e6e5096 100644 --- a/src/main/java/de/hype/bbsentials/communication/BBsentialConnection.java +++ b/src/main/java/de/hype/bbsentials/communication/BBsentialConnection.java @@ -344,11 +344,10 @@ public class BBsentialConnection { public void onSplashNotifyPacket(SplashNotifyPacket packet) { int waitTime; - if (packet.splasherUsername.equals(config.getUsername())) { SplashStatusUpdateListener splashStatusUpdateListener = new SplashStatusUpdateListener(this, packet); BBsentials.splashStatusUpdateListener = splashStatusUpdateListener; - executionService.submit(splashStatusUpdateListener); + executionService.execute(splashStatusUpdateListener); } else { SplashManager.addSplash(packet); |