Skip to content

Commit

Permalink
Merge pull request #4158 from ZacSharp/pr/1.19.4/builder/restoreBuild…
Browse files Browse the repository at this point in the history
…IgnoreExisting

Restore `buildIgnoreExisting`
  • Loading branch information
leijurv authored Oct 31, 2023
2 parents e19fd11 + 0ca81b1 commit a091419
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/baritone/process/BuilderProcess.java
Original file line number Diff line number Diff line change
Expand Up @@ -1063,6 +1063,9 @@ private boolean valid(BlockState current, BlockState desired, boolean itemVerify
if (desired.getBlock() instanceof AirBlock && Baritone.settings().buildIgnoreBlocks.value.contains(current.getBlock())) {
return true;
}
if (!(current.getBlock() instanceof AirBlock) && Baritone.settings().buildIgnoreExisting.value && !itemVerify) {
return true;
}
if (Baritone.settings().buildSkipBlocks.value.contains(desired.getBlock()) && !itemVerify) {
return true;
}
Expand Down

0 comments on commit a091419

Please sign in to comment.