Skip to content

Commit ec284a0

Browse files
committed
Fix comment being in the wrong line
1 parent ef8b203 commit ec284a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/conn.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,11 +188,11 @@ export class Conn {
188188
const { isCanceled, currentData } = await this.processMiddlewareList(pclient.toServerMiddlewares, packetData);
189189
if (isCanceled) return;
190190
if (meta.name === 'custom_payload') {
191+
// Workaround for broken custom_payload packets
191192
this.writeRaw(buffer);
192193
return;
193194
}
194195
if (!wasChanged && this.optimizePacketWrite) {
195-
// Workaround for broken custom_payload packets
196196
this.writeRaw(buffer);
197197
return;
198198
}

0 commit comments

Comments
 (0)