aboutsummaryrefslogtreecommitdiff
path: root/features/hud/HudTextElement.js
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2021-12-23 23:17:32 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2021-12-23 23:17:32 +0800
commitb3f12aa6dffc7fc5841e6d7863269740079a9ef7 (patch)
tree974b2c714a805826757ed3df5459aadebaa1fa72 /features/hud/HudTextElement.js
parent73e3e7465ab2888f869bf805c266e748eced4c4a (diff)
downloadSoopyV2-b3f12aa6dffc7fc5841e6d7863269740079a9ef7.tar.gz
SoopyV2-b3f12aa6dffc7fc5841e6d7863269740079a9ef7.tar.bz2
SoopyV2-b3f12aa6dffc7fc5841e6d7863269740079a9ef7.zip
small optimisation
Diffstat (limited to 'features/hud/HudTextElement.js')
-rw-r--r--features/hud/HudTextElement.js2
1 files changed, 1 insertions, 1 deletions
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"