From a4aabb5cbd29fda0f8c6aeac867602528e4fd618 Mon Sep 17 00:00:00 2001 From: hackthetime Date: Wed, 4 Oct 2023 09:07:14 +0200 Subject: tried fixing the splash update listener --- .../java/de/hype/bbsentials/communication/BBsentialConnection.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/main/java/de/hype/bbsentials/communication') 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); -- cgit