SundanceNanshan 10A23941a

This commit is contained in:
7cc5c4f330d47060 2024-08-18 03:10:10 -04:00
parent 3a76b57b33
commit 8625473d65
Signed by: 7cc5c4f330d47060
SSH key fingerprint: SHA256:e+4tcZut1nBpe10PqjaO+Rvie0Q7W4qIvFzcUw+7riA

View file

@ -35,7 +35,6 @@ module.exports = {
} else if (data.type === 6 || data.type === 7) {
const uuid = b.findUUID(parsePlain(parse1204(data.name)))
const nickname = b.findDisplayName(uuid)
console.log(uuid)
b.emit('chat', {
json: {
translate: messageTypes[data.type],
@ -74,7 +73,6 @@ module.exports = {
})
b._client.on('player_chat', (data) => {
console.log(parsePlain(parse1204(data.networkName)))
if (data.type === 4) {
b.emit('chat', {
json: parse1204(data.unsignedChatContent),