Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/1.20.x/simplification' into 1.20…
Browse files Browse the repository at this point in the history
….x/simplification
  • Loading branch information
AMereBagatelle committed May 21, 2024
2 parents f238c7b + 2bbb11d commit ddadfe2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class MixinFogRenderer {
*/
@Inject(method = "setupColor", at = @At(value = "FIELD", target = "Lnet/minecraft/client/renderer/FogRenderer;biomeChangedTime:J", ordinal = 6))
private static void modifyColors(Camera camera, float tickDelta, ClientLevel world, int i, float f, CallbackInfo ci) {
FogRGBA fogColor = Utils.alphaBlendFogColors(SkyboxManager.getInstance().getActiveSkyboxes(), new RGBA(fogRed, fogBlue, fogGreen));
FogRGBA fogColor = Utils.alphaBlendFogColors(SkyboxManager.getInstance().getActiveSkyboxes(), new RGBA(fogRed, fogGreen, fogBlue));
if (SkyboxManager.getInstance().isEnabled() && fogColor != null) {
fogRed = fogColor.getRed();
fogBlue = fogColor.getBlue();
Expand Down

0 comments on commit ddadfe2

Please sign in to comment.