This commit is contained in:
Leijurv 2023-07-30 23:26:46 -07:00
parent 134bfb2a16
commit 9630224e78
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A
1 changed files with 1 additions and 1 deletions

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);
}
}