From b3f12aa6dffc7fc5841e6d7863269740079a9ef7 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Thu, 23 Dec 2021 23:17:32 +0800 Subject: small optimisation --- features/hud/HudTextElement.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'features/hud') diff --git a/features/hud/HudTextElement.js b/features/hud/HudTextElement.js index c5a0635..b56b350 100644 --- a/features/hud/HudTextElement.js +++ b/features/hud/HudTextElement.js @@ -46,7 +46,7 @@ class HudTextElement{ text = this.editTempTextV blackText = "&0" + ChatLib.removeFormatting(text) } - + if(ChatLib.removeFormatting(text) === ""){ text = "&0Empty string" blackText = "&0Empty string" -- cgit