distributed: Fix crash when calling sendActivate w/ fields

This commit is contained in:
Little Cat 2021-06-14 05:10:56 -03:00
parent 38d00d597c
commit 8d40f55657
No known key found for this signature in database
GPG Key ID: 68CC2B4D0E5AF41C
1 changed files with 1 additions and 1 deletions

View File

@ -522,7 +522,7 @@ class AstronInternalRepository(ConnectionRepository):
dg.addServerHeader(doId, self.ourChannel, STATESERVER_OBJECT_SET_FIELDS)
dg.addUint32(doId)
dg.addUint16(fieldCount)
dg.appendData(fieldPacker.getString())
dg.appendData(fieldPacker.getBytes())
self.send(dg)
# Now slide it into the zone we expect to see it in (so it
# generates onto us with all of the fields in place)