mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-11 19:50:30 +00:00
Ignore null team
This commit is contained in:
parent
4f2d54b844
commit
72180cc15a
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ public class PacketListenerScoreboardTeam extends PacketAdapter {
|
|||
PacketContainer packet = event.getPacket();
|
||||
String name = packet.getStrings().read(0);
|
||||
|
||||
if (!name.startsWith("LD_") || name.equals("LD_NoName") || name.equals("LD_Pushing")) {
|
||||
if (name == null || !name.startsWith("LD_") || name.equals("LD_NoName") || name.equals("LD_Pushing")) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue