Skip to content

Commit

Permalink
Set exact match in TaskUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
Krakenied committed May 26, 2023
1 parent d9d2ed4 commit e855c4b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -323,7 +323,7 @@ public static int[] getAmountsPerSlot(Player player, QuestItem qi) {
// idx 36 = total
for (int i = 0; i < 36; i++) {
ItemStack slot = player.getInventory().getItem(i);
if (slot == null || !qi.compareItemStack(slot))
if (slot == null || !qi.compareItemStack(slot, true))
continue;
slotToAmount[36] = slotToAmount[36] + slot.getAmount();
slotToAmount[i] = slot.getAmount();
Expand Down

0 comments on commit e855c4b

Please sign in to comment.