diff --git a/src/api/java/baritone/api/behavior/Behavior.java b/src/api/java/baritone/api/behavior/Behavior.java index 67d3c25b..0ee05429 100644 --- a/src/api/java/baritone/api/behavior/Behavior.java +++ b/src/api/java/baritone/api/behavior/Behavior.java @@ -50,8 +50,9 @@ public class Behavior implements AbstractGameEventListener, Toggleable { */ @Override public final boolean setEnabled(boolean enabled) { - if (enabled == this.enabled) + if (enabled == this.enabled) { return this.enabled; + } if (this.enabled = enabled) { this.onEnable();