fix: minecraft name being duplicated in the string (#656)

This commit is contained in:
CosminPerRam 2024-11-15 14:04:11 +01:00 committed by GitHub
parent ad7680d36f
commit 5391daf6b7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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) {