mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Update MinecraftCom.cs
This commit is contained in:
parent
e6f2ef4e4f
commit
ae86a7cd6f
1 changed files with 1 additions and 1 deletions
|
|
@ -631,7 +631,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));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue