From 89ba0d8d435f3e02be8015b57460b80a31554dbc Mon Sep 17 00:00:00 2001 From: Tomas Slusny Date: Fri, 1 Feb 2019 17:16:20 +0100 Subject: [PATCH] Remove "Tag" toggle from NPC indicators This toggle was here originally because NPC tagging did not required shift, but now it does so to bring it with line of other shift-click plugins, simply remove this option. Signed-off-by: Tomas Slusny --- .../plugins/npchighlight/NpcIndicatorsConfig.java | 15 ++------------- .../plugins/npchighlight/NpcIndicatorsPlugin.java | 2 +- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/npchighlight/NpcIndicatorsConfig.java b/runelite-client/src/main/java/net/runelite/client/plugins/npchighlight/NpcIndicatorsConfig.java index 3e6b298cbb..f5b7ac6757 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/npchighlight/NpcIndicatorsConfig.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/npchighlight/NpcIndicatorsConfig.java @@ -67,17 +67,6 @@ public interface NpcIndicatorsConfig extends Config @ConfigItem( position = 3, - keyName = "enableTag", - name = "Enable Tag Option", - description = "Enable the NPC tag menu option" - ) - default boolean isTagEnabled() - { - return false; - } - - @ConfigItem( - position = 4, keyName = "drawNames", name = "Draw names above NPC", description = "Configures whether or not NPC names should be drawn above the NPC" @@ -88,7 +77,7 @@ public interface NpcIndicatorsConfig extends Config } @ConfigItem( - position = 5, + position = 4, keyName = "drawMinimapNames", name = "Draw names on minimap", description = "Configures whether or not NPC names should be drawn on the minimap" @@ -99,7 +88,7 @@ public interface NpcIndicatorsConfig extends Config } @ConfigItem( - position = 6, + position = 5, keyName = "showRespawnTimer", name = "Show respawn timer", description = "Show respawn timer of tagged NPCs") diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/npchighlight/NpcIndicatorsPlugin.java b/runelite-client/src/main/java/net/runelite/client/plugins/npchighlight/NpcIndicatorsPlugin.java index 88e1797b81..7e84798d2a 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/npchighlight/NpcIndicatorsPlugin.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/npchighlight/NpcIndicatorsPlugin.java @@ -248,7 +248,7 @@ public class NpcIndicatorsPlugin extends Plugin @Subscribe public void onMenuEntryAdded(MenuEntryAdded event) { - if (!hotKeyPressed || !config.isTagEnabled() || event.getType() != MenuAction.EXAMINE_NPC.getId()) + if (!hotKeyPressed || event.getType() != MenuAction.EXAMINE_NPC.getId()) { return; }