mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-28 13:45:37 -04:00
Silence debug message, and make it much more useful
This commit is contained in:
parent
26e6a38813
commit
37e2f10cd7
@ -1592,7 +1592,7 @@ function parsePacketData(buffer, state, isServer, packetsToParse) {
|
||||
cursor += readResults.size;
|
||||
}
|
||||
if (buffer.length > cursor)
|
||||
console.log("DID NOT PARSE THE WHOLE THING!");
|
||||
debug("Too much data to read for packetId: " + packetId + " (0x" + packetId.toString(16) + ")");
|
||||
debug(results);
|
||||
return {
|
||||
results: results,
|
||||
|
Loading…
x
Reference in New Issue
Block a user