fix formatting

Signed-off-by: scorbett123 <sam@corbettchocolates.com>
This commit is contained in:
scorbett123 2020-10-14 19:56:09 +01:00
parent 612510550f
commit 39cfebeb34
No known key found for this signature in database
GPG Key ID: C16B9466EBFC2DE7
2 changed files with 6 additions and 6 deletions

View File

@ -562,7 +562,7 @@ public interface MovementHelper extends ActionCosts, Helper {
enum PlaceResult {
READY_TO_PLACE, ATTEMPTING, NO_OPTION;
}
public static boolean isTransparent(Block b) {
static boolean isTransparent(Block b) {
return b == Blocks.AIR ||
b == Blocks.FLOWING_LAVA ||

View File

@ -40,7 +40,6 @@ import net.minecraft.entity.item.EntityItem;
import net.minecraft.init.Blocks;
import net.minecraft.item.ItemStack;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.Vec3d;
import java.util.*;
import java.util.stream.Collectors;
@ -411,10 +410,11 @@ public final class MineProcess extends BaritoneProcessHelper implements IMinePro
.filter(pos -> MineProcess.plausibleToBreak(ctx, pos))
.filter(pos -> {
if (Baritone.settings().allowOnlyExposedOres.value)
if (Baritone.settings().allowOnlyExposedOres.value) {
return isNextToAir(ctx, pos);
else
} else {
return true;
}
})
.filter(pos -> !blacklist.contains(pos))