This commit is contained in:
Leijurv 2018-10-28 15:24:52 -07:00
parent adbb03e5cb
commit 77db4cd19f
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -30,16 +30,16 @@ public class Behavior implements IBehavior {
public final Baritone baritone; public final Baritone baritone;
protected Behavior(Baritone baritone) {
this.baritone = baritone;
baritone.registerBehavior(this);
}
/** /**
* Whether or not this behavior is enabled * Whether or not this behavior is enabled
*/ */
private boolean enabled = true; private boolean enabled = true;
protected Behavior(Baritone baritone) {
this.baritone = baritone;
baritone.registerBehavior(this);
}
/** /**
* Toggles the enabled state of this {@link Behavior}. * Toggles the enabled state of this {@link Behavior}.
* *