npcindicators: fix highlights not updating when tagging/untagging an npc
This commit is contained in:
@@ -332,11 +332,13 @@ public class NpcIndicatorsPlugin extends Plugin
|
|||||||
if (mn != null && isNpcMemorizationUnnecessary(mn))
|
if (mn != null && isNpcMemorizationUnnecessary(mn))
|
||||||
{
|
{
|
||||||
memorizedNpcs.remove(npc.getIndex());
|
memorizedNpcs.remove(npc.getIndex());
|
||||||
|
rebuildAllNpcs();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
npcTags.add(id);
|
npcTags.add(id);
|
||||||
|
rebuildAllNpcs();
|
||||||
}
|
}
|
||||||
|
|
||||||
click.consume();
|
click.consume();
|
||||||
|
|||||||
Reference in New Issue
Block a user