(msg)
| 31 | // from the normal JSON structure, so it needs to be normalized. prismarine-chat processNbtMessage will do that by default |
| 32 | // on a fromNotch call. Since we don't call fromNotch here (done in mineflayer), we manually call processNbtMessage |
| 33 | const processMessage = (msg) => mcData.supportFeature('chatPacketsUseNbtComponents') ? processNbtMessage(msg) : msg |
| 34 | |
| 35 | // This stores the last 128 inbound (signed) messages for 1.19.3 chat validation |
| 36 | client._signatureCache = new SignatureCache() |