Backup old MotD and convert it to using Terraria chat tags automatically, then write it back out to the MotD file.

This commit is contained in:
DogooFalchion 2016-10-23 14:37:16 -04:00
parent fcca88c2d6
commit 8df7e0c298
2 changed files with 56 additions and 3 deletions

View file

@ -837,6 +837,8 @@ namespace TShockAPI
ComputeMaxStyles();
FixChestStacks();
Utils.UpgradeMotD();
if (Config.UseServerName)
{
Main.worldName = Config.ServerName;