Don't bother trying to read the scoreboard of a colored team
This commit is contained in:
parent
d58294d609
commit
b4f773c8d4
@ -34,7 +34,7 @@ public class PacketListenerScoreboardTeam extends PacketAdapter {
|
|||||||
|
|
||||||
String name = packet.getStrings().read(0);
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user