From c363b7fe4b82bf574bd50daff3258bb43fd8a37a Mon Sep 17 00:00:00 2001 From: Acuadragon100 <8165958-acuadragon100@users.noreply.gitlab.com> Date: Sun, 26 Apr 2026 11:19:30 +0200 Subject: [PATCH] Check fade rendering even without Sodium, because it can still happen without Sodium in some cases. --- .../seibel/distanthorizons/core/api/internal/ClientApi.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/src/main/java/com/seibel/distanthorizons/core/api/internal/ClientApi.java b/core/src/main/java/com/seibel/distanthorizons/core/api/internal/ClientApi.java index 6507192ce..a5afcdbe2 100644 --- a/core/src/main/java/com/seibel/distanthorizons/core/api/internal/ClientApi.java +++ b/core/src/main/java/com/seibel/distanthorizons/core/api/internal/ClientApi.java @@ -610,8 +610,7 @@ public class ClientApi // When immersive portals and sodium are combined the fade renders on top of the portal, so turn it off when a portal is on-screen. IImmersivePortalsAccessor immersivePortals = ModAccessorInjector.INSTANCE.get(IImmersivePortalsAccessor.class); - boolean hasSodium = SingletonInjector.INSTANCE.get(IModChecker.class).isModLoaded("sodium") || SingletonInjector.INSTANCE.get(IModChecker.class).isModLoaded("rubidium") || SingletonInjector.INSTANCE.get(IModChecker.class).isModLoaded("embeddium"); - if (hasSodium && immersivePortals != null && immersivePortals.wasPortalRecentlyVisible()) { + if (immersivePortals != null && immersivePortals.wasPortalRecentlyVisible()) { return false; } return true;