diff --git a/CHANGELOG.md b/CHANGELOG.md index deb4bedb..ba8077e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ This is the rolling changelog for TShock for Terraria. Use past tense when addin ## Upcoming changes +* Fixed `/worldmode` command to correctly target world mode. (@Ristellise) * Fixed NPC buff anticheat issue conflicting with Terraria gameplay changes (whips). (@Patrikkk) * Renamed `/bloodmoon` to `/tbloodmoon` because of conflict with Terraria reserved words. (@hakusaro) diff --git a/TShockAPI/Commands.cs b/TShockAPI/Commands.cs index a3c9010c..925ebf29 100644 --- a/TShockAPI/Commands.cs +++ b/TShockAPI/Commands.cs @@ -2145,10 +2145,10 @@ namespace TShockAPI static Dictionary _worldModes = new Dictionary { - { "normal", 1 }, - { "expert", 2 }, - { "master", 3 }, - { "creative", 4 }, + { "normal", 0 }, + { "expert", 1 }, + { "master", 2 }, + { "creative", 3 }, }; private static void ChangeWorldMode(CommandArgs args)