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 <slusnucky@gmail.com>
This commit is contained in:
Tomas Slusny
2019-02-01 17:16:20 +01:00
parent 29fcc2747f
commit 89ba0d8d43
2 changed files with 3 additions and 14 deletions

View File

@@ -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")

View File

@@ -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;
}