aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/hud
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-07-05 16:16:23 +0200
committerDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-07-05 16:16:23 +0200
commit6cafd268d486a930c7e8bec229c30eb6a50fe436 (patch)
tree1dc3467b8ec6057c2c55ed1372d4ded7afc7ac9a /src/main/java/cc/polyfrost/oneconfig/hud
parentab85af58303956e5f4436911ab9f301a215cfc15 (diff)
downloadOneConfig-6cafd268d486a930c7e8bec229c30eb6a50fe436.tar.gz
OneConfig-6cafd268d486a930c7e8bec229c30eb6a50fe436.tar.bz2
OneConfig-6cafd268d486a930c7e8bec229c30eb6a50fe436.zip
start on new font thingies
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/hud')
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/hud/TextHud.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/hud/TextHud.java b/src/main/java/cc/polyfrost/oneconfig/hud/TextHud.java
index 381e0a8..8dd8ac3 100644
--- a/src/main/java/cc/polyfrost/oneconfig/hud/TextHud.java
+++ b/src/main/java/cc/polyfrost/oneconfig/hud/TextHud.java
@@ -103,7 +103,7 @@ public abstract class TextHud extends Hud {
private class TickHandler {
@Subscribe
private void onTick(TickEvent event) {
- if (event.stage != Stage.START) return;
+ if (event.stage != Stage.START || !isEnabled()) return;
lines.clear();
if (!HudCore.editing) getLines(lines);
else getExampleLines(lines);