Skip to content

Commit

Permalink
Fix display item for bank
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoinkwiz committed Sep 10, 2023
1 parent 507452a commit 9d5ec40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/questhelper/banktab/QuestBankTab.java
Original file line number Diff line number Diff line change
Expand Up @@ -657,9 +657,9 @@ private Widget createMissingItem(Widget container, BankTabItem bankTabItem, int
widget.setOriginalY(y);

List<Integer> itemIDs = bankTabItem.getItemIDs();
if (bankTabItem.getDisplayID() != null)
if (bankTabItem.getItemRequirement().getDisplayItemId() != null)
{
itemIDs = Collections.singletonList(bankTabItem.getDisplayID());
itemIDs = Collections.singletonList(bankTabItem.getItemRequirement().getDisplayItemId());
}

if (itemIDs.size() == 0)
Expand Down

0 comments on commit 9d5ec40

Please sign in to comment.