From 6926dc1d6f6823227ae1eabda051ad2e8dc9ce87 Mon Sep 17 00:00:00 2001 From: rfresh2 <89827146+rfresh2@users.noreply.github.com> Date: Tue, 5 Nov 2024 02:30:24 -0800 Subject: [PATCH] more exact prio status text match --- .../network/client/handler/incoming/TabListDataHandler.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/zenith/network/client/handler/incoming/TabListDataHandler.java b/src/main/java/com/zenith/network/client/handler/incoming/TabListDataHandler.java index d8b1214e..26ff9cc8 100644 --- a/src/main/java/com/zenith/network/client/handler/incoming/TabListDataHandler.java +++ b/src/main/java/com/zenith/network/client/handler/incoming/TabListDataHandler.java @@ -97,7 +97,11 @@ private void parse2bPrioQueueState(final ClientboundTabListPacket packet) { * prio: * "This account has priority status and will be placed in a shorter queue." */ - EVENT_BUS.postAsync(new PrioStatusEvent(!messageString.contains("shop.2b2t.org"))); + if (messageString.contains("purchase priority queue")) { + EVENT_BUS.postAsync(new PrioStatusEvent(false)); + } else if (messageString.contains("has priority status")) { + EVENT_BUS.postAsync(new PrioStatusEvent(true)); + } }); }