codacy
This commit is contained in:
@@ -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}.
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user