mirror of
https://github.com/ammaraskar/pyCraft.git
synced 2024-11-16 07:15:24 +01:00
1.6.4 support
This commit is contained in:
parent
490fd6df69
commit
68240e01db
@ -13,7 +13,7 @@ def sendHandshake(socket, username, host, port):
|
|||||||
socket.send("\x02")
|
socket.send("\x02")
|
||||||
|
|
||||||
#byte - protocol version
|
#byte - protocol version
|
||||||
DataUtil.sendByte(socket, 74)
|
DataUtil.sendByte(socket, 78)
|
||||||
|
|
||||||
#string - username
|
#string - username
|
||||||
DataUtil.sendString(socket, username)
|
DataUtil.sendString(socket, username)
|
||||||
|
Loading…
Reference in New Issue
Block a user