Skip to content

Commit

Permalink
fix: do not switch elytra state if automations are blocked
Browse files Browse the repository at this point in the history
Signed-off-by: Octol1ttle <[email protected]>
  • Loading branch information
Octol1ttle committed Feb 20, 2024
1 parent 7235e21 commit 9c9869f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public void tick() {
if (syncedState != data.isFlying) {
changesPending = false;
}
if (changesPending) {
if (changesPending || !data.canAutomationsActivate()) {
return;
}

Expand Down

0 comments on commit 9c9869f

Please sign in to comment.