From b4f773c8d4de04a1ab3c1cc9c22f6265849ebc9b Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Sun, 24 Oct 2021 04:06:58 +1300 Subject: [PATCH] Don't bother trying to read the scoreboard of a colored team --- .../packets/packetlisteners/PacketListenerScoreboardTeam.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/libraryaddict/disguise/utilities/packets/packetlisteners/PacketListenerScoreboardTeam.java b/src/main/java/me/libraryaddict/disguise/utilities/packets/packetlisteners/PacketListenerScoreboardTeam.java index a7159ad0..c5684613 100644 --- a/src/main/java/me/libraryaddict/disguise/utilities/packets/packetlisteners/PacketListenerScoreboardTeam.java +++ b/src/main/java/me/libraryaddict/disguise/utilities/packets/packetlisteners/PacketListenerScoreboardTeam.java @@ -34,7 +34,7 @@ public class PacketListenerScoreboardTeam extends PacketAdapter { String name = packet.getStrings().read(0); - if (name == null || !name.startsWith("LD_") || name.equals("LD_NoName")) { + if (name == null || !name.startsWith("LD_") || name.equals("LD_NoName") || name.startsWith("LD_Color_")) { return; }