From a178b31333ddd32ad25f4e4b2d346fed116e60ff Mon Sep 17 00:00:00 2001 From: Chris <2648373+QuiCM@users.noreply.github.com> Date: Tue, 19 May 2020 23:04:23 +0930 Subject: [PATCH] Fixes world mode some more --- TShockAPI/Commands.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TShockAPI/Commands.cs b/TShockAPI/Commands.cs index 925ebf29..f5e37b85 100644 --- a/TShockAPI/Commands.cs +++ b/TShockAPI/Commands.cs @@ -2149,6 +2149,7 @@ namespace TShockAPI { "expert", 1 }, { "master", 2 }, { "creative", 3 }, + { "journey", 3 } }; private static void ChangeWorldMode(CommandArgs args) @@ -2164,7 +2165,7 @@ namespace TShockAPI if (int.TryParse(args.Parameters[0], out mode)) { - if (mode < 1 || mode > 4) + if (mode < 0 || mode > 3) { args.Player.SendErrorMessage("Invalid mode! Valid modes: {0}", String.Join(", ", _worldModes.Keys)); return;