diff --git a/src/main/java/forestry/core/blocks/BlockResourceOre.java b/src/main/java/forestry/core/blocks/BlockResourceOre.java index 2ebdc3529c..c808c6b47d 100644 --- a/src/main/java/forestry/core/blocks/BlockResourceOre.java +++ b/src/main/java/forestry/core/blocks/BlockResourceOre.java @@ -8,6 +8,8 @@ ******************************************************************************/ package forestry.core.blocks; +import static forestry.Forestry.isDreamcraftLoaded; + import java.util.ArrayList; import java.util.List; @@ -52,7 +54,7 @@ public BlockResourceOre() { public void dropBlockAsItemWithChance(World world, int x, int y, int z, int metadata, float par6, int par7) { super.dropBlockAsItemWithChance(world, x, y, z, metadata, par6, par7); - if (metadata == 0) { + if (metadata == 0 && !isDreamcraftLoaded) { this.dropXpOnBlockBreak(world, x, y, z, MathHelper.getRandomIntegerInRange(world.rand, 1, 4)); } } @@ -61,7 +63,7 @@ public void dropBlockAsItemWithChance(World world, int x, int y, int z, int meta public ArrayList getDrops(World world, int x, int y, int z, int metadata, int fortune) { ArrayList drops = new ArrayList<>(); - if (metadata == ResourceType.APATITE.ordinal()) { + if (metadata == ResourceType.APATITE.ordinal() && !isDreamcraftLoaded) { int fortuneModifier = world.rand.nextInt(fortune + 2) - 1; if (fortuneModifier < 0) { fortuneModifier = 0;