SundanceNanshan 10A23941a
This commit is contained in:
parent
3a76b57b33
commit
8625473d65
1 changed files with 0 additions and 2 deletions
|
@ -35,7 +35,6 @@ module.exports = {
|
||||||
} else if (data.type === 6 || data.type === 7) {
|
} else if (data.type === 6 || data.type === 7) {
|
||||||
const uuid = b.findUUID(parsePlain(parse1204(data.name)))
|
const uuid = b.findUUID(parsePlain(parse1204(data.name)))
|
||||||
const nickname = b.findDisplayName(uuid)
|
const nickname = b.findDisplayName(uuid)
|
||||||
console.log(uuid)
|
|
||||||
b.emit('chat', {
|
b.emit('chat', {
|
||||||
json: {
|
json: {
|
||||||
translate: messageTypes[data.type],
|
translate: messageTypes[data.type],
|
||||||
|
@ -74,7 +73,6 @@ module.exports = {
|
||||||
})
|
})
|
||||||
|
|
||||||
b._client.on('player_chat', (data) => {
|
b._client.on('player_chat', (data) => {
|
||||||
console.log(parsePlain(parse1204(data.networkName)))
|
|
||||||
if (data.type === 4) {
|
if (data.type === 4) {
|
||||||
b.emit('chat', {
|
b.emit('chat', {
|
||||||
json: parse1204(data.unsignedChatContent),
|
json: parse1204(data.unsignedChatContent),
|
||||||
|
|
Loading…
Reference in a new issue