saves worldID to setspawn when using /setspawn command
This commit is contained in:
parent
96988fc7c9
commit
176a5d8f5a
1 changed files with 1 additions and 0 deletions
|
|
@ -864,6 +864,7 @@ namespace TShockAPI
|
|||
{
|
||||
Main.spawnTileX = args.Player.TileX;
|
||||
Main.spawnTileY = args.Player.TileY;
|
||||
ConfigurationManager.Spawn_WorldID = Main.worldID;
|
||||
ConfigurationManager.WriteJsonConfiguration();
|
||||
args.Player.SendMessage("Set server spawn point to your position");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue