fix oopsie

This commit is contained in:
ZtereoHYPE 2023-09-16 02:46:09 +02:00
parent 6db1f14354
commit 0c5d21eb35

View file

@ -62,8 +62,7 @@ public class ConfigScreen extends Screen {
int Y = 60;
addRenderableWidget(new TooltippedCheckbox(20, Y, 20, 20, Component.translatable("nicer_skies.option.render_nebulas"), renderNebulas, (selected) -> {
newConfig.setLightmapTweaked(selected);
Minecraft.getInstance().gameRenderer.lightTexture().tick();
newConfig.setRenderNebulas(selected);
invalidated = true;
}, null));