From e95ab10cef0cfa4a24c2023491ddf8226a33aab1 Mon Sep 17 00:00:00 2001 From: Open Toontown <57279094+opentoontown@users.noreply.github.com> Date: Sun, 16 Jan 2022 15:40:08 -0500 Subject: [PATCH] otp-distributed: Python 3 fix --- otp/distributed/OTPClientRepository.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otp/distributed/OTPClientRepository.py b/otp/distributed/OTPClientRepository.py index 51daf21..1fa6f0e 100644 --- a/otp/distributed/OTPClientRepository.py +++ b/otp/distributed/OTPClientRepository.py @@ -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