Removed very angry code. Started feeding Codacy.

This commit is contained in:
0x22
2019-09-19 18:54:24 -04:00
parent e976224258
commit 6f2529c243
11 changed files with 21 additions and 17 deletions

View File

@@ -408,7 +408,8 @@ public final class MineProcess extends BaritoneProcessHelper implements IMinePro
this.filter = filter;
if (filter != null && !Baritone.settings().allowBreak.value) {
logDirect("Unable to mine when allowBreak is false!");
filter = null;
this.mine(quantity, (BlockOptionalMetaLookup) null);
return;
}
this.desiredQuantity = quantity;
this.knownOreLocations = new ArrayList<>();