From f08df5c9898f7c94f9db8570f4bee89a4ed77fcd Mon Sep 17 00:00:00 2001 From: 19MisterX98 <41451155+19MisterX98@users.noreply.github.com> Date: Wed, 12 Jun 2024 02:25:05 +0200 Subject: [PATCH] fixed hud default elements not working (#4634) --- .../java/meteordevelopment/meteorclient/systems/hud/Hud.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/meteordevelopment/meteorclient/systems/hud/Hud.java b/src/main/java/meteordevelopment/meteorclient/systems/hud/Hud.java index b5d898e329..d04a1b3b71 100644 --- a/src/main/java/meteordevelopment/meteorclient/systems/hud/Hud.java +++ b/src/main/java/meteordevelopment/meteorclient/systems/hud/Hud.java @@ -208,13 +208,14 @@ private void resetToDefaultElementsImpl() { @EventHandler private void onTick(TickEvent.Post event) { if (Utils.isLoading()) return; - if (!(active || HudEditorScreen.isOpen())) return; if (resetToDefaultElements) { resetToDefaultElementsImpl(); resetToDefaultElements = false; } + if (!(active || HudEditorScreen.isOpen())) return; + for (HudElement element : elements) { if (element.isActive()) element.tick(HudRenderer.INSTANCE); }