Skip to content

Commit

Permalink
Fixed the broadsword overhaul breaking with Calamity.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mirsario committed Aug 2, 2023
1 parent 68da6b9 commit 16806a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@

# Work In Progress

Nothing so far!
### Fixes
- Fixed many broadswords not getting their item overhaul when Calamity is enabled.

# 5.0 BETA 13

Expand Down
2 changes: 1 addition & 1 deletion Common/Melee/_Overhauls/Broadsword.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public override bool ShouldApplyItemOverhaul(Item item)
return false;
}

if (item.DamageType != DamageClass.Melee) {
if (!item.DamageType.CountsAsClass(DamageClass.Melee)) {
return false;
}

Expand Down

0 comments on commit 16806a9

Please sign in to comment.