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] 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])) {