mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-30 14:41:27 -04:00
remove debug in serializer transform
This commit is contained in:
parent
2862ea2034
commit
f5192ba8b7
@ -34,11 +34,9 @@ class Deserializer extends Transform {
|
|||||||
super({ readableObjectMode: true });
|
super({ readableObjectMode: true });
|
||||||
this.protocolState = state;
|
this.protocolState = state;
|
||||||
this.isServer = isServer;
|
this.isServer = isServer;
|
||||||
this.calls = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_transform(chunk, enc, cb) {
|
_transform(chunk, enc, cb) {
|
||||||
this.calls++;
|
|
||||||
var packet;
|
var packet;
|
||||||
try {
|
try {
|
||||||
packet = protocol.parsePacketData(chunk, this.protocolState, this.isServer, this.packetsToParse);
|
packet = protocol.parsePacketData(chunk, this.protocolState, this.isServer, this.packetsToParse);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user