diff --git a/src/main/java/me/libraryaddict/disguise/utilities/packets/packetlisteners/PacketListenerScoreboardTeam.java b/src/main/java/me/libraryaddict/disguise/utilities/packets/packetlisteners/PacketListenerScoreboardTeam.java index 96ba272f..77bf3c96 100644 --- a/src/main/java/me/libraryaddict/disguise/utilities/packets/packetlisteners/PacketListenerScoreboardTeam.java +++ b/src/main/java/me/libraryaddict/disguise/utilities/packets/packetlisteners/PacketListenerScoreboardTeam.java @@ -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; }