Skip to content

Commit

Permalink
Integration fix
Browse files Browse the repository at this point in the history
  • Loading branch information
paulevsGitch committed Jun 17, 2021
1 parent 52750fd commit b53d513
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 3 additions & 1 deletion src/main/java/ru/bclib/api/ModIntegrationAPI.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit b53d513

Please sign in to comment.