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