Support for multiple changes.
This commit is contained in:
parent
46cf4cd83c
commit
602ac8c56e
1 changed files with 4 additions and 1 deletions
|
|
@ -55,7 +55,10 @@ namespace Terraria
|
||||||
if (Convert.ToInt32(changes[0]) > version)
|
if (Convert.ToInt32(changes[0]) > version)
|
||||||
{
|
{
|
||||||
sendMessage(ply, "This server is out of date. Version " + changes[0] + " is out.", color);
|
sendMessage(ply, "This server is out of date. Version " + changes[0] + " is out.", color);
|
||||||
sendMessage(ply, changes[1], color);
|
for (int i = 1; i <= changes.Length; i++)
|
||||||
|
{
|
||||||
|
sendMessage(ply, changes[i], color);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue