More work on trying to fix this.
Changed MOTD to be a bit more convincing to change.
This commit is contained in:
parent
5f31937af7
commit
c3d37846bd
3 changed files with 7 additions and 8 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue