From 7c41775d6db3e073b48f9c52886a42c423780357 Mon Sep 17 00:00:00 2001 From: Cai <13110818005@qq.com> Date: Wed, 17 Sep 2025 21:36:30 +0800 Subject: [PATCH 1/2] chore: silent kick on invalid client connection --- TShockAPI/TShock.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index 99153deb..d3b01b6d 100644 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -1456,7 +1456,7 @@ namespace TShockAPI if (!tsplr.FinishedHandshake) { - tsplr.Kick(GetString("Your client didn't send the right connection information."), true); + tsplr.Kick(GetString("Your client didn't send the right connection information."), true, true); args.Handled = true; return; } From 0cc0f7733a288d2b83217e8ac741945115d9a87e Mon Sep 17 00:00:00 2001 From: Cai <13110818005@qq.com> Date: Fri, 26 Sep 2025 23:28:00 +0800 Subject: [PATCH 2/2] fix: allow evil grass to grow during world generation even when `Allow...Creep` is false --- TShockAPI/TShock.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index 99153deb..538e5ba4 100644 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -1263,6 +1263,11 @@ namespace TShockAPI /// True if allowed, otherwise false private bool OnCreep(int tileType) { + if (WorldGen.generatingWorld) + { + return true; + } + if (!Config.Settings.AllowCrimsonCreep && (tileType == TileID.Dirt || tileType == TileID.CrimsonGrass || TileID.Sets.Crimson[tileType])) {