mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-22 04:52:26 +00:00
Let farm break replaceable blocks (such as Railcraft's residual heat)
This commit is contained in:
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));
|
||||
|
||||
Reference in new issue
Block a user