Skip to content

Commit

Permalink
Merge pull request #10724 from DestinyItemManager/d1-breaker
Browse files Browse the repository at this point in the history
Don't return breaker type for D1
  • Loading branch information
bhollis committed Sep 11, 2024
2 parents 66f1331 + 64e3e61 commit f47bfc9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/utils/item-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,9 @@ const ichToBreakerType = Object.entries(artifactBreakerMods).reduce<
* season's artifact mods.
*/
export function getBreakerTypeHash(item: DimItem): number | undefined {
if (item.destinyVersion === 1) {
return;
}
if (item.breakerType) {
return item.breakerType.hash;
} else if (item.bucket.inWeapons) {
Expand Down

0 comments on commit f47bfc9

Please sign in to comment.