mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-29 14:13:45 -04:00
add a little info in the proxy example
This commit is contained in:
parent
5743cd8b64
commit
145c6b4840
@ -140,6 +140,8 @@ srv.on('login', function(client) {
|
|||||||
console.log("client<-server: Error in packetId " + state + ".0x" + packetId.value.toString(16));
|
console.log("client<-server: Error in packetId " + state + ".0x" + packetId.value.toString(16));
|
||||||
console.log(buffer.toString('hex'));
|
console.log(buffer.toString('hex'));
|
||||||
console.log(packetBuff.toString('hex'));
|
console.log(packetBuff.toString('hex'));
|
||||||
|
console.log(buffer.length);
|
||||||
|
console.log(packetBuff.length);
|
||||||
}
|
}
|
||||||
/*if (client.state == states.PLAY && brokenPackets.indexOf(packetId.value) !== -1)
|
/*if (client.state == states.PLAY && brokenPackets.indexOf(packetId.value) !== -1)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user