Added check for pathing
This commit is contained in:
parent
4e2095d251
commit
d7fc916d20
@ -93,7 +93,7 @@ public final class BackfillProcess extends BaritoneProcessHelper {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void amIBreakingABlockHMMMMMMM() {
|
private void amIBreakingABlockHMMMMMMM() {
|
||||||
if (!ctx.getSelectedBlock().isPresent()) {
|
if (!ctx.getSelectedBlock().isPresent() || !baritone.getPathingBehavior().isPathing()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
blocksToReplace.put(ctx.getSelectedBlock().get(), ctx.world().getBlockState(ctx.getSelectedBlock().get()));
|
blocksToReplace.put(ctx.getSelectedBlock().get(), ctx.world().getBlockState(ctx.getSelectedBlock().get()));
|
||||||
|
Loading…
Reference in New Issue
Block a user