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
|
|
@ -72,7 +72,7 @@ namespace TShockAPI
|
||||||
|
|
||||||
CreateIfNot(RulesPath, "Respect the admins!\nDon't use TNT!");
|
CreateIfNot(RulesPath, "Respect the admins!\nDon't use TNT!");
|
||||||
CreateIfNot(MotdPath,
|
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);
|
CreateIfNot(WhitelistPath);
|
||||||
|
|
||||||
try
|
try
|
||||||
|
|
|
||||||
|
|
@ -1094,15 +1094,14 @@ namespace TShockAPI
|
||||||
{
|
{
|
||||||
foreach (Point p in player.IceTiles)
|
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);
|
player.IceTiles.Remove(p);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
player.SendMessage("You do not have permission to build!", Color.Red);
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (TShock.Config.AllowIce)
|
if (TShock.Config.AllowIce)
|
||||||
|
|
|
||||||
|
|
@ -187,7 +187,7 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ProjectExtensions>
|
<ProjectExtensions>
|
||||||
<VisualStudio>
|
<VisualStudio>
|
||||||
<UserProperties BuildVersion_IncrementBeforeBuild="False" BuildVersion_StartDate="2011/6/17" BuildVersion_BuildVersioningStyle="None.None.None.MonthAndDayStamp" BuildVersion_BuildAction="Both" BuildVersion_UpdateFileVersion="True" BuildVersion_UpdateAssemblyVersion="True" />
|
<UserProperties BuildVersion_UpdateAssemblyVersion="True" BuildVersion_UpdateFileVersion="True" BuildVersion_BuildAction="Both" BuildVersion_BuildVersioningStyle="None.None.None.MonthAndDayStamp" BuildVersion_StartDate="2011/6/17" BuildVersion_IncrementBeforeBuild="False" />
|
||||||
</VisualStudio>
|
</VisualStudio>
|
||||||
</ProjectExtensions>
|
</ProjectExtensions>
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue