We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5773979 commit d34311fCopy full SHA for d34311f
src/main/kotlin/com/lambda/client/gui/hudgui/AbstractLabelHud.kt
@@ -2,6 +2,7 @@ package com.lambda.client.gui.hudgui
2
3
import com.lambda.client.commons.interfaces.Nameable
4
import com.lambda.client.event.SafeClientEvent
5
+import com.lambda.client.module.modules.client.HudEditor
6
import com.lambda.client.setting.configs.AbstractConfig
7
import com.lambda.client.util.graphics.VertexHelper
8
import com.lambda.client.util.graphics.font.TextComponent
@@ -29,6 +30,8 @@ abstract class AbstractLabelHud(
29
30
if (it.phase != TickEvent.Phase.END) return@safeAsyncListener
31
displayText.clear()
32
updateText()
33
+
34
+ if (displayText.isEmpty() && HudEditor.isEnabled) displayText.addLine(name, primaryColor)
35
}
36
37
0 commit comments