runelite-client: only update the actions if the item id matches

This commit is contained in:
Dennis
2018-04-03 22:26:04 +02:00
committed by Adam
parent b33b311864
commit 232a363ba9

View File

@@ -254,7 +254,8 @@ public class BankTagsPlugin extends Plugin
}
Widget bankItemWidget = bankItemWidgets[inventoryIndex];
String[] actions = bankItemWidget.getActions();
if (actions == null || EDIT_TAGS_MENU_INDEX - 1 >= actions.length)
if (actions == null || EDIT_TAGS_MENU_INDEX - 1 >= actions.length
|| itemId != bankItemWidget.getItemId())
{
return;
}