Merge pull request #3 from dogwatch/patch-3

Merging changes.
This commit is contained in:
ORelio 2013-07-18 13:47:23 -07:00
commit 72c447e1b9

View file

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