diff --git a/src/utils/HydraMultiplayer/base.ts b/src/utils/HydraMultiplayer/base.ts index d805c13..c197d9e 100644 --- a/src/utils/HydraMultiplayer/base.ts +++ b/src/utils/HydraMultiplayer/base.ts @@ -150,7 +150,7 @@ function encodePackets(packets: Packet[]): string { to: BigInt(data.to), from: BigInt(data.from), ephemeralKey: toHex(data.ephemeralKey), - kills: data.kills.map((k) => BigInt(k)), + kills: Array.from(data.kills).map((k) => BigInt(k)), data: toHex(data.data), }, DatumPacket,