fix(crypto): correctly cast byte to char
1 files changed, 1 insertions(+), 1 deletions(-) M Core/NosSmooth.Cryptography/ClientWorldCryptography.cs
M Core/NosSmooth.Cryptography/ClientWorldCryptography.cs => Core/NosSmooth.Cryptography/ClientWorldCryptography.cs +1 -1
@@ 113,7 113,7 @@ public class ClientWorldCryptography : ICryptography } } return string.Concat(currentPacket.Cast<char>()); return string.Concat(currentPacket.Select(x => (char)x)); // byte[] tmp = Encoding.Convert(encoding, Encoding.UTF8, currentPacket.ToArray()); // return Encoding.UTF8.GetString(tmp);