Skip to content

Commit

Permalink
fix: minecraft name being duplicated in the string
Browse files Browse the repository at this point in the history
  • Loading branch information
CosminPerRam committed Nov 2, 2024
1 parent ad7680d commit 0f47473
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions protocols/minecraft.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ export default class minecraft extends Core {
if (typeof description === 'string') {
name = description
} else if (typeof description === 'object') {
name = description?.text || ''

const stack = [description]

while (stack.length) {
Expand Down

0 comments on commit 0f47473

Please sign in to comment.