Update MinecraftCom.cs

This commit is contained in:
dogwatch 2013-07-18 12:03:10 -07:00
parent e6f2ef4e4f
commit ae86a7cd6f

View file

@ -631,7 +631,7 @@ namespace MinecraftClient
sh.CopyTo(data, 4 + (username.Length * 2)); sh.CopyTo(data, 4 + (username.Length * 2));
//host //host
byte[] bhost = Encoding.Unicode.GetBytes(username); byte[] bhost = Encoding.Unicode.GetBytes(host);
Array.Reverse(bhost); Array.Reverse(bhost);
bhost.CopyTo(data, 6 + (username.Length * 2)); bhost.CopyTo(data, 6 + (username.Length * 2));