Skip to content

Commit

Permalink
Call onDynamicResourcesStatusChange if dynamic resources is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
embeddedt committed Feb 3, 2024
1 parent 2c96388 commit f12d772
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ public ModernFixClient() {
ModernFix.LOGGER.error("Could not instantiate integration {}", className, e);
}
}

if(ModernFixMixinPlugin.instance.isOptionEnabled("perf.dynamic_resources.FireIntegrationHook")) {
for(ModernFixClientIntegration integration : ModernFixClient.CLIENT_INTEGRATIONS) {
integration.onDynamicResourcesStatusChange(true);
}
}
}

public void resetWorldLoadStateMachine() {
Expand Down

0 comments on commit f12d772

Please sign in to comment.