From 5f0009a060d8c8f96d42259fe013ab884942f838 Mon Sep 17 00:00:00 2001 From: Leijurv Date: Sun, 16 Sep 2018 19:24:21 -0700 Subject: [PATCH] fuming --- src/api/java/baritone/api/behavior/Behavior.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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();