Merge pull request #3778 from Nightfirecat/consume-clicks-for-npc-tagging
Prevent NPC tagging from interrupting actions
This commit is contained in:
@@ -242,6 +242,8 @@ public class NpcIndicatorsPlugin extends Plugin
|
|||||||
{
|
{
|
||||||
if (click.getMenuOption().equals(TAG))
|
if (click.getMenuOption().equals(TAG))
|
||||||
{
|
{
|
||||||
|
click.consume();
|
||||||
|
|
||||||
final int id = click.getId();
|
final int id = click.getId();
|
||||||
final boolean removed = npcTags.remove(id);
|
final boolean removed = npcTags.remove(id);
|
||||||
final NPC[] cachedNPCs = client.getCachedNPCs();
|
final NPC[] cachedNPCs = client.getCachedNPCs();
|
||||||
|
|||||||
Reference in New Issue
Block a user