Merge branch 'general-devel' into fix-single-player-dead
This commit is contained in:
commit
4a37b7d067
1 changed files with 6 additions and 1 deletions
|
|
@ -1263,6 +1263,11 @@ namespace TShockAPI
|
||||||
/// <returns>True if allowed, otherwise false</returns>
|
/// <returns>True if allowed, otherwise false</returns>
|
||||||
private bool OnCreep(int tileType)
|
private bool OnCreep(int tileType)
|
||||||
{
|
{
|
||||||
|
if (WorldGen.generatingWorld)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
if (!Config.Settings.AllowCrimsonCreep && (tileType == TileID.Dirt || tileType == TileID.CrimsonGrass
|
if (!Config.Settings.AllowCrimsonCreep && (tileType == TileID.Dirt || tileType == TileID.CrimsonGrass
|
||||||
|| TileID.Sets.Crimson[tileType]))
|
|| TileID.Sets.Crimson[tileType]))
|
||||||
{
|
{
|
||||||
|
|
@ -1456,7 +1461,7 @@ namespace TShockAPI
|
||||||
|
|
||||||
if (!tsplr.FinishedHandshake)
|
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;
|
args.Handled = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue