This commit is contained in:
Andrew Marheine committed 2021-07-17 15:16:41 -05:00
commit 3ba2e51905
1 file changed
+1 -1
+1 -1
View File
@@ -506,7 +506,7 @@ namespace CalamityMod.ILEditing
On.Terraria.Item.AffixName += (orig, self) =>
{
string result = orig(self);
if (self.IsEnchanted())
if (!self.IsAir && self.Calamity().AppliedEnchantment.HasValue)
result = $"{self.Calamity().AppliedEnchantment.Value.Name} {result}";
return result;
};