This commit is contained in:
Leijurv
2023-07-30 23:26:46 -07:00
parent 134bfb2a16
commit 9630224e78

View File

@@ -263,8 +263,8 @@ public class ElytraProcess extends BaritoneProcessHelper implements IBaritonePro
private void destroyBehaviorAsync() {
ElytraBehavior behavior = this.behavior;
if (behavior != null) {
Baritone.getExecutor().execute(behavior::destroy);
this.behavior = null;
Baritone.getExecutor().execute(behavior::destroy);
}
}