Commit 319881d0 authored by nanahira's avatar nanahira

fix

parent 3547c9ab
......@@ -145,7 +145,7 @@ class YGOProMessagesHelper {
sendBuffer.writeUInt16LE(1, 0);
sendBuffer.writeUInt8(translatedProto, 2);
}
return buffer;
return sendBuffer;
}
sendMessage(socket, protostr, info) {
const sendBuffer = this.prepareMessage(protostr, info);
......
......@@ -175,7 +175,7 @@ export class YGOProMessagesHelper {
sendBuffer.writeUInt16LE(1, 0);
sendBuffer.writeUInt8(translatedProto, 2);
}
return buffer;
return sendBuffer;
}
sendMessage(socket: net.Socket, protostr: string, info?: string | Buffer | any) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment