From c03603e5665fc48cf556501ac72de50a024cb079 Mon Sep 17 00:00:00 2001 From: Ozzatron Date: Sat, 26 Jun 2021 19:45:11 -0400 Subject: [PATCH] if x return true else return false --- Utilities/ItemUtils.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Utilities/ItemUtils.cs b/Utilities/ItemUtils.cs index ad29b36b7f..00b12acb8e 100644 --- a/Utilities/ItemUtils.cs +++ b/Utilities/ItemUtils.cs @@ -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)