From 176a5d8f5a2db1f4102601afccd3135ddf8c2238 Mon Sep 17 00:00:00 2001 From: Twitchy Date: Fri, 24 Jun 2011 20:36:56 +1200 Subject: [PATCH] saves worldID to setspawn when using /setspawn command --- TShockAPI/Commands.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/TShockAPI/Commands.cs b/TShockAPI/Commands.cs index dfdc1100..82215681 100755 --- a/TShockAPI/Commands.cs +++ b/TShockAPI/Commands.cs @@ -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"); }