Skip to content

Commit

Permalink
fix: accessories were counted twice for MP
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonXLF committed Feb 19, 2023
1 parent d871b3a commit 815ef7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -1158,7 +1158,7 @@ export const getItems = async (

accessories.push(insertAccessory);
accessoryIds.push(id);
accessoryRarities[insertAccessory.rarity]++;

if (insertAccessory.isInactive === false) {
accessoryRarities[insertAccessory.rarity]++;
if (id == "HEGEMONY_ARTIFACT") {
Expand Down

0 comments on commit 815ef7b

Please sign in to comment.