Merge branch 'general-devel' into chore-noshow-kick-message
This commit is contained in:
commit
6948855a4b
1 changed files with 5 additions and 0 deletions
|
|
@ -1263,6 +1263,11 @@ namespace TShockAPI
|
|||
/// <returns>True if allowed, otherwise false</returns>
|
||||
private bool OnCreep(int tileType)
|
||||
{
|
||||
if (WorldGen.generatingWorld)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!Config.Settings.AllowCrimsonCreep && (tileType == TileID.Dirt || tileType == TileID.CrimsonGrass
|
||||
|| TileID.Sets.Crimson[tileType]))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue