Added quick format versions of the TSPlayer.Send<X>Message methods.
This commit is contained in:
parent
a7f4c649b0
commit
76aab4af78
3 changed files with 23 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue