otp-distributed: Python 3 fix

This commit is contained in:
Open Toontown 2022-01-16 15:40:08 -05:00
parent 5371c749e3
commit e95ab10cef

View file

@ -1047,7 +1047,7 @@ class OTPClientRepository(ClientRepositoryBase):
datagram = PyDatagram()
datagram.addUint16(CLIENT_CREATE_AVATAR)
datagram.addUint16(0)
datagram.addString(avDNA.makeNetString())
datagram.addBlob(avDNA.makeNetString())
datagram.addUint8(avPosition)
self.newName = avName
self.newDNA = avDNA