Skip to content

Commit

Permalink
fix: minecraft name being duplicated in the string (#656)
Browse files Browse the repository at this point in the history
  • Loading branch information
CosminPerRam authored Nov 15, 2024
1 parent ad7680d commit 5391daf
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 5391daf

Please sign in to comment.