Tweaked around with the region code a lot.

Databases will need to be rebuilt past this build.
This commit is contained in:
Lucas Nicodemus 2011-07-14 01:47:57 -06:00
parent c4efc96303
commit 5b79212b8f
6 changed files with 55 additions and 82 deletions

View file

@ -501,7 +501,7 @@ namespace TShockAPI
using (var sha = new SHA512CryptoServiceProvider())
{
var bytes = sha.ComputeHash(Encoding.ASCII.GetBytes(password));
return bytes.Aggregate("", (s, b) => s + b.ToString("X2"));
return bytes.Aggregate("", (s, b) => s + b.ToString("height"));
}
}