diff --git a/TShockAPI/FileTools.cs b/TShockAPI/FileTools.cs index 3d6673ed..df7388ab 100644 --- a/TShockAPI/FileTools.cs +++ b/TShockAPI/FileTools.cs @@ -72,7 +72,7 @@ namespace TShockAPI CreateIfNot(RulesPath, "Respect the admins!\nDon't use TNT!"); CreateIfNot(MotdPath, - "This server is running TShock. Type /help for a list of commands.\n%255,000,000%Current map: %map%\nCurrent players: %players%"); + "This server is running TShock for Terraria.\n Type /help for a list of commands.\n%255,000,000%Current map: %map%\nCurrent players: %players%"); CreateIfNot(WhitelistPath); try diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index 96c8465e..552d7548 100644 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -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) diff --git a/TShockAPI/TShockAPI.csproj b/TShockAPI/TShockAPI.csproj index 461cff5e..2f8b8a19 100644 --- a/TShockAPI/TShockAPI.csproj +++ b/TShockAPI/TShockAPI.csproj @@ -187,7 +187,7 @@ - +