Don't bother trying to read the scoreboard of a colored team

This commit is contained in:
libraryaddict 2021-10-24 04:06:58 +13:00
parent d58294d609
commit b4f773c8d4

View File

@ -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;
}