Skip to content

Commit

Permalink
Tell baritone not to pickup drops from repair blocks in infinity miner (
Browse files Browse the repository at this point in the history
  • Loading branch information
radianeuh authored Feb 20, 2025
1 parent 6146f5b commit d58787c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ private void onTick(TickEvent.Post event) {
if (!needsRepair()) {
warning("Finished repairing, going back to mining.");
repairing = false;
baritoneSettings.mineScanDroppedItems.value = true;
mineTargetBlocks();
return;
}
Expand All @@ -168,6 +169,7 @@ private void onTick(TickEvent.Post event) {
if (needsRepair()) {
warning("Pickaxe needs repair, beginning repair process");
repairing = true;
baritoneSettings.mineScanDroppedItems.value = false;
mineRepairBlocks();
return;
}
Expand Down Expand Up @@ -243,4 +245,4 @@ private boolean isFull() {

return true;
}
}
}

0 comments on commit d58787c

Please sign in to comment.