diff --git a/Items/SulphurousSeaWorldSideChanger.cs b/Items/SulphurousSeaWorldSideChanger.cs index 51366b6f71..6d79c7766a 100644 --- a/Items/SulphurousSeaWorldSideChanger.cs +++ b/Items/SulphurousSeaWorldSideChanger.cs @@ -1,4 +1,5 @@ -using CalamityMod.Rarities; +using CalamityMod.Events; +using CalamityMod.Rarities; using CalamityMod.World; using Terraria; using Terraria.ID; @@ -31,14 +32,18 @@ namespace CalamityMod.Items public override bool? UseItem(Player player) { + CalamityNetcode.SyncWorld(); + string key = "Mods.CalamityMod.SulphurSwitchLeft"; if (Abyss.AtLeftSideOfWorld) { Abyss.AtLeftSideOfWorld = false; + key = "Mods.CalamityMod.SulphurSwitchRight"; } else { Abyss.AtLeftSideOfWorld = true; } + CalamityUtils.DisplayLocalizedText(key, AcidRainEvent.TextColor); return true; } } diff --git a/Localization/CalamityLocalization.cs b/Localization/CalamityLocalization.cs index 2a78493e5e..ee670b8462 100644 --- a/Localization/CalamityLocalization.cs +++ b/Localization/CalamityLocalization.cs @@ -212,6 +212,9 @@ namespace CalamityMod.Localization new [] { "PhantomHeartText", "You have already used a Phantom Heart. It's probably good that you can't use another." }, new [] { "SlimeGodRun", "The Slime God flees to fight another day..." }, + + new [] { "SulphurSwitchLeft", "The Sulphurous Sea is now on the left side of the world." }, + new [] { "SulphurSwitchRight", "The Sulphurous Sea is now on the right side of the world." }, }; }