Added quick format versions of the TSPlayer.Send<X>Message methods.

This commit is contained in:
CoderCow 2013-06-27 12:36:13 +02:00
parent a7f4c649b0
commit 76aab4af78
3 changed files with 23 additions and 3 deletions

View file

@ -2839,7 +2839,7 @@ namespace TShockAPI
Region region = TShock.Regions.GetRegionByName(regionName);
if (region == null)
{
args.Player.SendErrorMessage(string.Format("Region {0} does not exist.", regionName));
args.Player.SendErrorMessage("Region {0} does not exist.", regionName);
break;
}
@ -2894,7 +2894,7 @@ namespace TShockAPI
}
else
{
args.Player.SendMessage("Invalid syntax! Proper syntax: /region info [name]", Color.Red);
args.Player.SendErrorMessage("Invalid syntax! Proper syntax: /region info [name]");
}
break;