npc indicators: fix npe building npcs
This commit is contained in:
@@ -174,6 +174,11 @@ public class NpcIndicatorsPlugin extends Plugin
|
|||||||
{
|
{
|
||||||
String npcName = npc.getName();
|
String npcName = npc.getName();
|
||||||
|
|
||||||
|
if (npcName == null)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
for (String highlight : highlightedNpcs)
|
for (String highlight : highlightedNpcs)
|
||||||
{
|
{
|
||||||
if (WildcardMatcher.matches(highlight, npcName))
|
if (WildcardMatcher.matches(highlight, npcName))
|
||||||
|
|||||||
Reference in New Issue
Block a user