Skip to content

Commit

Permalink
reload when switching fullbright mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Wide-Cat committed Nov 7, 2023
1 parent 81e2fad commit c9bcfa5
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
);

Expand Down

0 comments on commit c9bcfa5

Please sign in to comment.