Fixed laser tree farm support for mixed soils

This commit is contained in:
LemADEC 2022-04-14 15:55:08 +02:00
parent 7294f0d469
commit c853114607

View file

@ -435,14 +435,14 @@ public class TileEntityLaserTreeFarm extends TileEntityAbstractMiner {
return EnumTaskResult.SKIP;
}
// no sapling found for this soil, moving on...
// no plantable found for this soil, moving on...
if ( blockStatePlant == null
|| itemStackPlant.isEmpty()
|| inventoryPlant == null ) {
if (WarpDriveConfig.LOGGING_COLLECTION) {
WarpDrive.logger.debug("No sapling found");
WarpDrive.logger.debug("No plantable found");
}
return EnumTaskResult.SKIP;
return EnumTaskResult.CONTINUE;
}
// check area protection