Update to protocol version 61

This commit is contained in:
Ammar Askar 2013-05-20 00:44:25 +05:00
parent db5e603a2e
commit eb67fd9339
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ def handle07(FileObject):
def handle08(FileObject):
health = DataUtil.readShort(FileObject)
health = DataUtil.readFloat(FileObject)
food = DataUtil.readShort(FileObject)
saturation = DataUtil.readFloat(FileObject)
return {'health': health,

View File

@ -13,7 +13,7 @@ def sendHandshake(socket, username, host, port):
socket.send("\x02")
#byte - protocol version
DataUtil.sendByte(socket, 60)
DataUtil.sendByte(socket, 61)
#string - username
DataUtil.sendString(socket, username)