Prevent NPC tagging from interrupting actions

Fixes #1804
This commit is contained in:
Jordan Atwood
2018-06-13 14:52:30 -07:00
parent 750374d243
commit a2fea6d33f

View File

@@ -242,6 +242,8 @@ public class NpcIndicatorsPlugin extends Plugin
{
if (click.getMenuOption().equals(TAG))
{
click.consume();
final int id = click.getId();
final boolean removed = npcTags.remove(id);
final NPC[] cachedNPCs = client.getCachedNPCs();