We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 337512f commit 36b054dCopy full SHA for 36b054d
src/legacy/api/PacketAPI.cpp
@@ -282,7 +282,7 @@ Local<Value> BinaryStreamClass::writeUnsignedChar(const Arguments& args) {
282
if (!pkt) {
283
return Local<Value>();
284
}
285
- pkt->writeUnsignedChar(args[0].asNumber().toInt32(), nullptr, nullptr);
+ pkt->writeByte(args[0].asNumber().toInt32(), nullptr, nullptr);
286
return Boolean::newBoolean(true);
287
288
CATCH("Fail in BinaryStream writeUnsignedChar!");
0 commit comments