Small reword

This commit is contained in:
mcrcortex
2024-02-21 16:30:11 +10:00
parent b9749d3092
commit 63c1e06262
2 changed files with 5 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ import java.util.Map;
public class LightingFetcher {
//TODO: FIXME: I dont think the 2 codepaths are needed, just do what you do for starlight for vanilla and it should work just fine
private static boolean STARLIGHT_INSTALLED = FabricLoader.getInstance().isModLoaded("starlight");
private static final boolean STARLIGHT_INSTALLED = FabricLoader.getInstance().isModLoaded("starlight");
private static void fetchLightingDataVanilla(Map<Long, Pair<ChunkNibbleArray, ChunkNibbleArray>> out, WorldChunk chunk) {
var lp = chunk.getWorld().getLightingProvider();
var blockLight = lp.get(LightType.BLOCK);

View File

@@ -8,14 +8,14 @@
"minecraft.MixinDebugHud",
"minecraft.MixinMinecraftClient",
"minecraft.MixinWorldRenderer",
"sodium.MixinSodiumWorldRender"
"sodium.MixinSodiumWorldRender",
"sodium.MixinDefaultChunkRenderer",
"sodium.MixinRenderSectionManager",
"nvidium.MixinRenderPipeline"
],
"injectors": {
"defaultRequire": 1
},
"mixins": [
"nvidium.MixinRenderPipeline",
"sodium.MixinDefaultChunkRenderer",
"sodium.MixinRenderSectionManager"
]
}