npchighlight: don't unhighlight name tagged npcs if unindex-tagging them
This commit is contained in:
@@ -344,8 +344,11 @@ public class NpcIndicatorsPlugin extends Plugin
|
|||||||
|
|
||||||
if (removed)
|
if (removed)
|
||||||
{
|
{
|
||||||
highlightedNpcs.remove(npc);
|
if (!highlightMatchesNPCName(npc.getName()))
|
||||||
memorizedNpcs.remove(npc.getIndex());
|
{
|
||||||
|
highlightedNpcs.remove(npc);
|
||||||
|
memorizedNpcs.remove(npc.getIndex());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user