mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-11-05 09:09:40 +01:00
Ignore null team
This commit is contained in:
parent
4f2d54b844
commit
72180cc15a
@ -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 New Issue
Block a user