diff --git a/CHANGELOG.md b/CHANGELOG.md index feeccefd..f6f94ff6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ This is the rolling changelog for TShock for Terraria. Use past tense when addin ## Upcoming changes * Fixed ridiculous typo in `GetDataHandlers` which caused TShock to read the wrong field in the packet for `usingBiomeTorches`. (@hakusaro, @Arthri) * Fixed torchgod settings to include whether or not torchgod has been fought by the player before and respect `usingBiomeTorches` setting. (@Quinci135) +* Fixed /worldmode not synchronising data to players after updating the world state (@bartico6, @Arthri) ## TShock 4.5.3 * Added permissions for using Teleportation Potions, Magic Conch, and Demon Conch. (@drunderscore) diff --git a/TShockAPI/Commands.cs b/TShockAPI/Commands.cs index bf2db430..692eeb01 100644 --- a/TShockAPI/Commands.cs +++ b/TShockAPI/Commands.cs @@ -2391,6 +2391,7 @@ namespace TShockAPI Main.GameMode = mode; args.Player.SendSuccessMessage("World mode set to {0}", _worldModes.Keys.ElementAt(mode)); + TSPlayer.All.SendData(PacketTypes.WorldInfo); } private static void Hardmode(CommandArgs args)