Heath123/pakkit

Connection drop

nathanosoares opened this issue · 1 comments

Console:

client<-server: Error in packet play.entity_equipment
received buffer 5086db3a00019706010a000003000f437573746f6d4d6f64656c44617461000007fc0001019706010a000003000f437573746f6d4d6f64656c44617461000007fc0005019706010a000003000f437573746f6d4d6f64656c44617461000007fd00
produced buffer 5086db3a80019706010a000003000f437573746f6d4d6f64656c44617461000007fc0081019706010a000003000f437573746f6d4d6f64656c44617461000007fc0005019706010a000003000f437573746f6d4d6f64656c44617461000007fd00
received length 97
produced length 97
Connection closed by server (play.originrealms.com:25565)

Client:
image

I'm getting the same thing (not that specific error but i get the entity_equipment thing.). I feel like I was able to fix it the other day by cancelling those packets but for some reason that doesn't seem to work anymore (either I forgot how to do it correctly or my solution wasn't actually solving the root issue)

This is what I tried today (no worky):

exports.downstreamHandler = function (meta, data, server, client) {
 if (meta.name === 'entity_equipment') {
    return;
  }
  client.sendPacket(meta, data)
}