From 2e1bd623f3813c26724429d27d99eee4d1b9d468 Mon Sep 17 00:00:00 2001 From: CosminPerRam Date: Fri, 9 Aug 2024 10:51:45 +0300 Subject: [PATCH] fix: minecraft vanilla top level description text --- protocols/minecraft.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/minecraft.js b/protocols/minecraft.js index 0d5eeab0..7f9778fa 100644 --- a/protocols/minecraft.js +++ b/protocols/minecraft.js @@ -61,7 +61,7 @@ export default class minecraft extends Core { if (typeof description === 'string') { name = description } - if (!name && typeof description === 'object' && description.text) { + if (!name && typeof description === 'object' && description.text && description?.text?.trim()) { name = description.text } if (!name && typeof description === 'object' && description.extra) {