We have to patch prismarine-chat because minecraft-protocol depends on it...

revert Add error handler to this for some reason
I got a maximum call stack size exceeded error in this code...
This commit is contained in:
7cc5c4f330d47060 2024-08-01 00:21:28 -04:00
parent 5f3a41a1a0
commit 111ba7ba25

View file

@ -8,14 +8,4 @@ const parse = function (data) {
return data
}
}
const parse2 = function (_data) {
try {
return parse(_data)
} catch (e) {
console.error(e)
return {
text: 'An error occured while parsing a message. See console for more information.'
}
}
}
module.exports = parse