"Brace" for impact with these Important changes

Apparently the convention is UpperCamel for private functions too.
Fixed a stray brace that caused people to brace for a sudden evisceration of limbs.
Use Int32.Parse instead of Convert.ToInt32, because Microsoft exposes public
APIs they say not to use. 👏
This commit is contained in:
Lucas Nicodemus 2015-04-13 23:24:37 -06:00
parent b91f0ff7b7
commit b34c00107c
2 changed files with 14 additions and 6 deletions

View file

@ -994,7 +994,8 @@ namespace TShockAPI
var user = new User();
user.Name = args.Parameters[1];
try {
try
{
user.CreateBCryptHash(args.Parameters[2]);
}
catch (ArgumentOutOfRangeException)