pass compile; add void vault code

This commit is contained in:
鱼鱼 2020-05-17 21:38:47 +08:00
parent 43f586cde5
commit 1ed95c737e
10 changed files with 112 additions and 75 deletions

View file

@ -1110,7 +1110,7 @@ namespace TShockAPI
/// <returns>True if allowed, otherwise false</returns>
private bool OnCreep(int tileType)
{
if (!Config.AllowCrimsonCreep && (tileType == TileID.Dirt || tileType == TileID.FleshWeeds
if (!Config.AllowCrimsonCreep && (tileType == TileID.Dirt || tileType == TileID.CrimsonGrass
|| TileID.Sets.Crimson[tileType]))
{
return false;
@ -1669,7 +1669,7 @@ namespace TShockAPI
file.ServerPassword = _cliPassword;
}
Netplay.spamCheck = false;
Netplay.SpamCheck = false;
}
}
}