Skip to content

Commit

Permalink
fix: accessories command
Browse files Browse the repository at this point in the history
  • Loading branch information
DuckySoLucky committed Oct 6, 2022
1 parent 9999a2c commit 8f64e3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/minecraft/commands/accessoriesCommand.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class accessoriesCommand extends MinecraftCommand {
let common = talismans?.common?.length, uncommon = talismans?.uncommon?.length, rare = talismans?.rare?.length, epic = talismans?.epic?.length, legendary = talismans?.legendary?.length, mythic = talismans?.mythic?.length, special = talismans?.special?.length, verySpecial = talismans?.very?.length, recombobulated = 0, enrichment = 0
const talismanCount = common + uncommon + rare + epic + legendary + mythic + special + verySpecial
for (const rarity of Object.keys(talismans)) {
if (rarity == "talismanBagUpgrades" || rarity == "currentReforge" || rarity == "unlockedReforges" || rarity == "tuningsSlots" || rarity == "tunings") continue
for (const talisman of talismans[rarity]) {
if (talisman.recombobulated) recombobulated ++
if (talisman.enrichment) enrichment ++
Expand Down

0 comments on commit 8f64e3f

Please sign in to comment.