runelite-client: only update the actions if the item id matches
This commit is contained in:
@@ -254,7 +254,8 @@ public class BankTagsPlugin extends Plugin
|
|||||||
}
|
}
|
||||||
Widget bankItemWidget = bankItemWidgets[inventoryIndex];
|
Widget bankItemWidget = bankItemWidgets[inventoryIndex];
|
||||||
String[] actions = bankItemWidget.getActions();
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user