Skip to content

Commit

Permalink
change: Always reload the renderer when changing view distance
Browse files Browse the repository at this point in the history
  • Loading branch information
jellysquid3 committed Jun 17, 2021
1 parent 82c76d4 commit c517524
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public static OptionPage general() {
.setControl(option -> new SliderControl(option, 2, 32, 1, ControlValueFormatter.quantity("Chunks")))
.setBinding((options, value) -> options.viewDistance = value, options -> options.viewDistance)
.setImpact(OptionImpact.HIGH)
.setFlags(OptionFlag.REQUIRES_RENDERER_RELOAD)
.build())
.add(OptionImpl.createBuilder(int.class, vanillaOpts)
.setName("Brightness")
Expand Down

0 comments on commit c517524

Please sign in to comment.