We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9b7dc9a + bc363a4 commit c6e1f49Copy full SHA for c6e1f49
1 file changed
src/main/java/wayoftime/bloodmagic/ritual/ModRituals.java
@@ -1,6 +1,7 @@
1
package wayoftime.bloodmagic.ritual;
2
3
import net.minecraft.world.level.block.Blocks;
4
+import net.minecraftforge.fml.ModList;
5
import wayoftime.bloodmagic.ritual.harvest.*;
6
7
public class ModRituals
@@ -18,7 +19,10 @@ public static void initHarvestHandlers()
18
19
HarvestRegistry.registerHandler(new HarvestHandlerNetherWart());
20
HarvestRegistry.registerHandler(new HarvestHandlerGrowingPlant());
21
HarvestRegistry.registerHandler(new HarvestHandlerJungleVines());
- HarvestRegistry.registerHandler(new HarvestHandlerAgricraft());
22
+ if (ModList.get().isLoaded("agricraft"))
23
+ {
24
+ HarvestRegistry.registerHandler(new HarvestHandlerAgricraft());
25
+ }
26
}
27
//
28
// public static void initCuttingFluids() {
0 commit comments