[P] Patch #1: Remove allowBreak check for mining
This commit is contained in:
@@ -425,11 +425,15 @@ public final class MineProcess extends BaritoneProcessHelper implements IMinePro
|
|||||||
@Override
|
@Override
|
||||||
public void mine(int quantity, BlockOptionalMetaLookup filter) {
|
public void mine(int quantity, BlockOptionalMetaLookup filter) {
|
||||||
this.filter = filter;
|
this.filter = filter;
|
||||||
if (filter != null && !Baritone.settings().allowBreak.value) {
|
|
||||||
|
// Hyritone start - #1: Users are not idiots, if they disabled allow break, it's not for mining.
|
||||||
|
/*if (filter != null && !Baritone.settings().allowBreak.value) {
|
||||||
logDirect("Unable to mine when allowBreak is false!");
|
logDirect("Unable to mine when allowBreak is false!");
|
||||||
this.mine(quantity, (BlockOptionalMetaLookup) null);
|
this.mine(quantity, (BlockOptionalMetaLookup) null);
|
||||||
return;
|
return;
|
||||||
}
|
}*/
|
||||||
|
// Hyritone end
|
||||||
|
|
||||||
this.desiredQuantity = quantity;
|
this.desiredQuantity = quantity;
|
||||||
this.knownOreLocations = new ArrayList<>();
|
this.knownOreLocations = new ArrayList<>();
|
||||||
this.blacklist = new ArrayList<>();
|
this.blacklist = new ArrayList<>();
|
||||||
|
|||||||
Reference in New Issue
Block a user