if x return true else return false
This commit is contained in:
1 parent
113c09ff76
commit
c03603e566
1 file changed
+1
-4
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user