From 31f9c570807c81437d16d8e151f78a80711cd0a0 Mon Sep 17 00:00:00 2001 From: Asada shinon Date: Tue, 19 May 2020 19:02:40 +0800 Subject: [PATCH 1/3] Quick Command ID Fix --- TShockAPI/Commands.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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) From 0cd8a87178003221912599364c12728109bc8c2b Mon Sep 17 00:00:00 2001 From: Asada shinon Date: Tue, 19 May 2020 19:04:08 +0800 Subject: [PATCH 2/3] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index deb4bedb..5d46ae5b 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 (@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) From 57a8aacf393c5f528463ce021e3b3a2452d9d0dd Mon Sep 17 00:00:00 2001 From: Asada shinon Date: Tue, 19 May 2020 19:05:16 +0800 Subject: [PATCH 3/3] Elaborated Changes. --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d46ae5b..ba8077e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ This is the rolling changelog for TShock for Terraria. Use past tense when addin ## Upcoming changes -* Fixed worldmode command (@Ristellise) +* 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)