From c9bcfa5503750671b7e5513539062e733aab4f34 Mon Sep 17 00:00:00 2001 From: Wide-Cat Date: Tue, 7 Nov 2023 11:57:08 +0000 Subject: [PATCH] reload when switching fullbright mode --- .../meteorclient/systems/modules/render/Fullbright.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/meteordevelopment/meteorclient/systems/modules/render/Fullbright.java b/src/main/java/meteordevelopment/meteorclient/systems/modules/render/Fullbright.java index c84b2d18e4..d039356086 100644 --- a/src/main/java/meteordevelopment/meteorclient/systems/modules/render/Fullbright.java +++ b/src/main/java/meteordevelopment/meteorclient/systems/modules/render/Fullbright.java @@ -20,6 +20,9 @@ public class Fullbright extends Module { .name("mode") .description("The mode to use for Fullbright.") .defaultValue(Mode.Gamma) + .onChanged(mode -> { + if (mc.worldRenderer != null && isActive()) mc.worldRenderer.reload(); + }) .build() );