diff --git a/gradle.properties b/gradle.properties index 6a044b22..bd09ede1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,7 +8,7 @@ yarn_mappings=6 loader_version=0.11.3 # Mod Properties -mod_version = 0.1.35 +mod_version = 0.1.36 maven_group = ru.bclib archives_base_name = bclib diff --git a/src/main/java/ru/bclib/api/ModIntegrationAPI.java b/src/main/java/ru/bclib/api/ModIntegrationAPI.java index 28b92ae6..43f5d249 100644 --- a/src/main/java/ru/bclib/api/ModIntegrationAPI.java +++ b/src/main/java/ru/bclib/api/ModIntegrationAPI.java @@ -16,7 +16,9 @@ public class ModIntegrationAPI { */ public static ModIntegration register(ModIntegration integration) { INTEGRATIONS.add(integration); - integration.init(); + if (integration.modIsInstalled()) { + integration.init(); + } return integration; }