Skip to content

Commit 16806a9

Browse files
committed
Fixed the broadsword overhaul breaking with Calamity.
1 parent 68da6b9 commit 16806a9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030

3131
# Work In Progress
3232

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

3536
# 5.0 BETA 13
3637

Common/Melee/_Overhauls/Broadsword.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public override bool ShouldApplyItemOverhaul(Item item)
4545
return false;
4646
}
4747

48-
if (item.DamageType != DamageClass.Melee) {
48+
if (!item.DamageType.CountsAsClass(DamageClass.Melee)) {
4949
return false;
5050
}
5151

0 commit comments

Comments
 (0)