Call onDynamicResourcesStatusChange if dynamic resources is enabled
This commit is contained in:
parent
2c963888b5
commit
f12d7723c0
|
|
@ -50,6 +50,12 @@ public class ModernFixClient {
|
||||||
ModernFix.LOGGER.error("Could not instantiate integration {}", className, e);
|
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() {
|
public void resetWorldLoadStateMachine() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user