More work on trying to fix this.

Changed MOTD to be a bit more convincing to change.
This commit is contained in:
Lucas Nicodemus 2012-01-21 00:10:59 -07:00
parent 5f31937af7
commit c3d37846bd
3 changed files with 7 additions and 8 deletions

View file

@ -1094,15 +1094,14 @@ namespace TShockAPI
{
foreach (Point p in player.IceTiles)
{
if (p.X == tileX)
if (p.X == tileX && p.Y == tileY)
{
if (p.Y == tileY)
{
player.IceTiles.Remove(p);
return false;
}
player.IceTiles.Remove(p);
return false;
}
}
player.SendMessage("You do not have permission to build!", Color.Red);
return true;
}
if (TShock.Config.AllowIce)