npc indicators: fix npe building npcs

This commit is contained in:
Adam
2018-04-24 08:16:56 -04:00
parent e1ac6181b1
commit c33c6ef9d7

View File

@@ -174,6 +174,11 @@ public class NpcIndicatorsPlugin extends Plugin
{
String npcName = npc.getName();
if (npcName == null)
{
continue;
}
for (String highlight : highlightedNpcs)
{
if (WildcardMatcher.matches(highlight, npcName))