api: remove Follow and Trade menu actions

They are just the third and fourth player options but deprioritized by having 2000 added to them.
This commit is contained in:
Lotto
2020-03-19 00:12:28 +01:00
committed by Adam
parent 85c5cf9a19
commit b85675f624
2 changed files with 2 additions and 5 deletions

View File

@@ -273,9 +273,6 @@ public enum MenuAction
*/
RUNELITE_OVERLAY_CONFIG(1502),
FOLLOW(2046),
TRADE(2047),
/**
* Menu action triggered when the id is not defined in this class.
*/

View File

@@ -103,8 +103,8 @@ public class PlayerIndicatorsPlugin extends Plugin
}
int identifier = menuEntryAdded.getIdentifier();
if (type == FOLLOW.getId() || type == TRADE.getId()
|| type == SPELL_CAST_ON_PLAYER.getId() || type == ITEM_USE_ON_PLAYER.getId()
if (type == SPELL_CAST_ON_PLAYER.getId()
|| type == ITEM_USE_ON_PLAYER.getId()
|| type == PLAYER_FIRST_OPTION.getId()
|| type == PLAYER_SECOND_OPTION.getId()
|| type == PLAYER_THIRD_OPTION.getId()