/setspawn settings no longer carry over to other worlds.
This commit is contained in:
parent
ce02cd1401
commit
96988fc7c9
3 changed files with 16 additions and 1 deletions
|
|
@ -257,6 +257,13 @@ namespace TShockAPI
|
|||
}
|
||||
}
|
||||
|
||||
if (ConfigurationManager.Spawn_WorldID != Main.worldID)
|
||||
{
|
||||
Main.spawnTileX = ConfigurationManager.originalSpawnX;
|
||||
Main.spawnTileY = ConfigurationManager.originalSpawnY;
|
||||
ConfigurationManager.Spawn_WorldID = Main.worldID;
|
||||
}
|
||||
|
||||
Players[ply] = player;
|
||||
Netplay.spamCheck = ConfigurationManager.SpamChecks;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue