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
1 changed files with 5 additions and 5 deletions

View File

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