Clean up world save to be less alarmist

This commit is contained in:
Lucas Nicodemus 2020-05-23 23:33:16 -07:00
parent d6a6b1514b
commit cdb1953f36
No known key found for this signature in database
GPG key ID: A07BD9023D1664DB
2 changed files with 5 additions and 3 deletions

View file

@ -55,7 +55,7 @@ namespace TShockAPI
// These can be caused by an unexpected error such as a bad or out of date plugin
try
{
TShock.Utils.Broadcast("Saving world. Momentary lag might result from this.", Color.Red);
TShock.Utils.Broadcast("Saving world...", Color.Yellow);
}
catch (Exception ex)
{
@ -130,8 +130,11 @@ namespace TShockAPI
}
else
WorldFile.SaveWorld(task.resetTime);
if (TShock.Config.AnnounceSave)
TShock.Utils.Broadcast("World saved.", Color.Yellow);
TShock.Log.Info(string.Format("World saved at ({0})", Main.worldPathName));
TShock.Log.Info(string.Format("World saved at ({0})", Main.worldPathName));
}
catch (Exception e)
{