From 4ffe7c71b46561dd1646c871d999f4ccc5c3152a Mon Sep 17 00:00:00 2001 From: LostLuma Date: Sat, 17 Feb 2024 19:24:32 +0100 Subject: [PATCH] Fix Quilt mod compat service not registering screen overrides --- .../dynamic_fps/impl/quilt/service/QuiltModCompat.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platforms/quilt/src/main/java/net/lostluma/dynamic_fps/impl/quilt/service/QuiltModCompat.java b/platforms/quilt/src/main/java/net/lostluma/dynamic_fps/impl/quilt/service/QuiltModCompat.java index 621dcdaa..d32deb60 100644 --- a/platforms/quilt/src/main/java/net/lostluma/dynamic_fps/impl/quilt/service/QuiltModCompat.java +++ b/platforms/quilt/src/main/java/net/lostluma/dynamic_fps/impl/quilt/service/QuiltModCompat.java @@ -53,6 +53,9 @@ private static void parseModMetadata(ModContainer mod) { } parseOverlayOverride(root.get("optimized_overlay")); + + parseScreenOverrides(root.get("optimized_screens"), "enabled", optedInScreens); + parseScreenOverrides(root.get("optimized_screens"), "disabled", optedOutScreens); } private static void parseOverlayOverride(@Nullable LoaderValue value) {