More code tidying.

This commit is contained in:
high 2011-06-14 18:13:46 -04:00
parent fff6e1bcbc
commit 966735ec2e
6 changed files with 97 additions and 136 deletions

View file

@ -77,7 +77,7 @@ namespace TShockAPI
{
if (Main.player[i].active)
{
if (!TShock.players[i].Group.HasPermission("maintenance"))
if (!TShock.Players[i].Group.HasPermission("maintenance"))
return;
Tools.SendMessage(i, "The server is out of date. To update, type /updatenow.");
for (int j = 4; j < changes.Length; j++)