diff --git a/src/main/java/baritone/behavior/impl/MineBehavior.java b/src/main/java/baritone/behavior/impl/MineBehavior.java index f34aa480..1e1fdb08 100644 --- a/src/main/java/baritone/behavior/impl/MineBehavior.java +++ b/src/main/java/baritone/behavior/impl/MineBehavior.java @@ -80,7 +80,7 @@ public class MineBehavior extends Behavior { } public void mine(String... mining) { - this.mining = new ArrayList<>(Arrays.asList(mining)); + this.mining = mining == null ? null : new ArrayList<>(Arrays.asList(mining)); } public void cancel() {