Let farm break replaceable blocks (such as Railcraft's residual heat)

This commit is contained in:
mezz committed 2015-01-18 14:21:22 -08:00
1 parent 195c8fc524
commit b36d10308b
2 files changed
+5 -3

No files matched your search

@@ -84,7 +84,7 @@ public abstract class FarmLogicHomogeneous extends FarmLogic {
Vect position = translateWithOffset(x, yGround, z, direction, i);
ItemStack stack = VectUtil.getAsItemStack(world, position);
if (isAcceptedGround(stack) || !canBreakGround(VectUtil.getBlock(world, position)))
if (isAcceptedGround(stack) || !canBreakGround(world, position))
continue;
produce.addAll(BlockUtil.getBlockDrops(world, position));