Skip to content

Commit

Permalink
Merge pull request #2239 from DuckySoLucky/fixObjectReferenceValueBs
Browse files Browse the repository at this point in the history
fix: pets getting duplicated in the nw calculation
  • Loading branch information
Shiiyu authored Apr 24, 2024
2 parents 8f8ec76 + 4370520 commit bf67e37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stats/pets.js
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ export async function getPets(userProfile, calculated, profile) {
const output = {};

// Get pets from profile
const pets = userProfile.pets_data?.pets ?? [];
const pets = _.clone(userProfile.pets_data?.pets ?? []);

// Adds pets from inventories
if (calculated.items?.pets !== undefined) {
Expand Down

0 comments on commit bf67e37

Please sign in to comment.