This commit is contained in:
Leijurv
2018-10-28 15:24:52 -07:00
parent adbb03e5cb
commit 77db4cd19f

View File

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