if x return true else return false

This commit is contained in:
Ozzatron committed 2021-06-26 19:45:11 -04:00
1 parent 113c09ff76
commit c03603e566
1 file changed
+1 -4
+1 -4
View File
@@ -214,10 +214,7 @@ namespace CalamityMod
if (EnchantmentManager.ItemUpgradeRelationship.ContainsValue(item.type))
return true;
if (item.Calamity().AppliedEnchantment.HasValue)
return true;
return false;
return item.Calamity().AppliedEnchantment.HasValue;
}
public static Rectangle FixSwingHitbox(float hitboxWidth, float hitboxHeight)