mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-29 14:13:45 -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 });
|
||||
this.protocolState = state;
|
||||
this.isServer = isServer;
|
||||
this.calls = 0;
|
||||
}
|
||||
|
||||
_transform(chunk, enc, cb) {
|
||||
this.calls++;
|
||||
var packet;
|
||||
try {
|
||||
packet = protocol.parsePacketData(chunk, this.protocolState, this.isServer, this.packetsToParse);
|
||||
|
Loading…
x
Reference in New Issue
Block a user