From c469a5db9534fbc0f01d4c82d02fa10efc3ff609 Mon Sep 17 00:00:00 2001 From: Listentowind <2926669682@qq.com> Date: Fri, 12 Sep 2025 01:22:46 +0800 Subject: [PATCH] final fix loc? also fixed UI key name --- ModSupport/WeakReferenceSupport.cs | 4 ++-- Projectiles/Melee/LucreciaDNATrailCreator.cs | 2 +- en-US.hjson | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 en-US.hjson diff --git a/ModSupport/WeakReferenceSupport.cs b/ModSupport/WeakReferenceSupport.cs index b8550398d8..93d249ce38 100644 --- a/ModSupport/WeakReferenceSupport.cs +++ b/ModSupport/WeakReferenceSupport.cs @@ -1335,8 +1335,8 @@ namespace CalamityMod return tagData.ContainsKey("RevengeanceMode") && tagData.GetBool("RevengeanceMode") && !(tagData.ContainsKey("DeathMode") && tagData.GetBool("DeathMode")); }; - RegisterWorldInfoIcon(luminance, "CalamityMod/UI/ModeIndicator/ModeIndicator_Death", "Mods.CalamityMod.UI.DeathEnabled", deathEnabled, 50); - RegisterWorldInfoIcon(luminance, "CalamityMod/UI/ModeIndicator/ModeIndicator_Rev", "Mods.CalamityMod.UI.RevengeanceEnabled", revengeanceEnabled, 50); + RegisterWorldInfoIcon(luminance, "CalamityMod/UI/ModeIndicator/ModeIndicator_Death", "Mods.CalamityMod.UI.Death", deathEnabled, 50); + RegisterWorldInfoIcon(luminance, "CalamityMod/UI/ModeIndicator/ModeIndicator_Rev", "Mods.CalamityMod.UI.Revengeance", revengeanceEnabled, 50); } #endregion } diff --git a/Projectiles/Melee/LucreciaDNATrailCreator.cs b/Projectiles/Melee/LucreciaDNATrailCreator.cs index e773d0147d..1e77fd0d0b 100644 --- a/Projectiles/Melee/LucreciaDNATrailCreator.cs +++ b/Projectiles/Melee/LucreciaDNATrailCreator.cs @@ -10,7 +10,7 @@ using Terraria.ModLoader; namespace CalamityMod.Projectiles.Melee { - public class LucreciaDNATrailCreator : ModProjectile + public class LucreciaDNATrailCreator : ModProjectile, ILocalizedModType { private List oldPositionsLeft = new List(); private List oldPositionsRight = new List(); diff --git a/en-US.hjson b/en-US.hjson deleted file mode 100644 index a95d61a6de..0000000000 --- a/en-US.hjson +++ /dev/null @@ -1 +0,0 @@ -Mods.CalamityMod.Projectiles.LucreciaDNATrailCreator.DisplayName: Lucrecia D N A Trail Creator