This commit is contained in:
Scott Burns
2019-05-16 01:52:17 +02:00
parent 9661b20493
commit e27e797694

View File

@@ -85,16 +85,16 @@ public class WarIndicatorPlugin extends Plugin
}
@Subscribe
public void onMenuEntryAdd(MenuEntryAdded menuEntryAdded)
public void onMenuEntryAdd(MenuEntryAdded onMenuEntryAdded)
{
int type = menuEntryAdded.getType();
int type = onMenuEntryAdded.getType();
if (type >= 2000)
{
type -= 2000;
}
int identifier = menuEntryAdded.getIdentifier();
int identifier = onMenuEntryAdded.getIdentifier();
if (type == FOLLOW.getId() || type == TRADE.getId()
|| type == SPELL_CAST_ON_PLAYER.getId()
|| type == ITEM_USE_ON_PLAYER.getId()