Merge pull request #7651 from deathbeam/remove-tag-option

Remove "Tag" toggle from NPC indicators
This commit is contained in:
Tomas Slusny
2019-02-02 11:07:21 +00:00
committed by GitHub
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;
}