Skip to content

Commit

Permalink
More correct method
Browse files Browse the repository at this point in the history
  • Loading branch information
temp1011 committed Feb 11, 2018
1 parent 74e381f commit 1745a7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/forestry/plugins/PluginHarvestCraft.java
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ public void registerRecipes() {
}
}

if(ModuleManager.getInstance().isModuleEnabled(Constants.MOD_ID, ForestryModuleUids.APICULTURE)) {
if(ForestryAPI.enabledModules.contains(new ResourceLocation(Constants.MOD_ID, ForestryModuleUids.APICULTURE))) {
ItemStack hcHoneyItem = getItemStack("honeyitem");
if (hcHoneyItem != null) {
RecipeManagers.squeezerManager.addRecipe(10, hcHoneyItem, Fluids.FOR_HONEY.getFluid(Constants.FLUID_PER_HONEY_DROP));
Expand Down

0 comments on commit 1745a7e

Please sign in to comment.