npchighlight: don't unhighlight name tagged npcs if unindex-tagging them
This commit is contained in:
@@ -343,10 +343,13 @@ public class NpcIndicatorsPlugin extends Plugin
|
||||
final boolean removed = npcTags.remove(id);
|
||||
|
||||
if (removed)
|
||||
{
|
||||
if (!highlightMatchesNPCName(npc.getName()))
|
||||
{
|
||||
highlightedNpcs.remove(npc);
|
||||
memorizedNpcs.remove(npc.getIndex());
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!client.isInInstancedRegion())
|
||||
|
||||
Reference in New Issue
Block a user