Skip to content

Commit

Permalink
Added missing mod check
Browse files Browse the repository at this point in the history
  • Loading branch information
JackyyTV committed Feb 2, 2018
1 parent 2763f72 commit 8e8a873
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/jackyy/avaritiatweaks/tweaks/ModTweaks.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ public static void initIntegrations() {

@SideOnly(Side.CLIENT)
public static void initIntegrationsClient() {
BotaniaCompat.initModels();
if (ModConfig.compats.botaniaCompat && Loader.isModLoaded("botania")) {
BotaniaCompat.initModels();
}
}

}

0 comments on commit 8e8a873

Please sign in to comment.