From 2bbb11dbd5c6dbf24da9d6fccf5ef85d01da8a08 Mon Sep 17 00:00:00 2001 From: Yao Chung Hu <30311066+FlashyReese@users.noreply.github.com> Date: Sat, 18 May 2024 13:45:32 +0800 Subject: [PATCH] Unswap blue/green in modifyColors - part 2 --- .../github/amerebagatelle/mods/nuit/mixin/MixinFogRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/io/github/amerebagatelle/mods/nuit/mixin/MixinFogRenderer.java b/common/src/main/java/io/github/amerebagatelle/mods/nuit/mixin/MixinFogRenderer.java index 69b2b414..c5dbbf31 100644 --- a/common/src/main/java/io/github/amerebagatelle/mods/nuit/mixin/MixinFogRenderer.java +++ b/common/src/main/java/io/github/amerebagatelle/mods/nuit/mixin/MixinFogRenderer.java @@ -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();