diff options
| author | Vincent Zhang <73851560+bootsareme@users.noreply.github.com> | 2026-03-07 18:18:25 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-07 23:18:25 +0000 |
| commit | 1be5faaea781402e7de06b263eeca4c688b7712c (patch) | |
| tree | 69454763e73ca764af4e682d3573080b13138a0e /Minecraft.Client | |
| parent | bbe396d90d6cf292c18017129e4f9f619c406f32 (diff) | |
bugfix: Holding CTRL key resets flying acceleration (#863)
Diffstat (limited to 'Minecraft.Client')
| -rw-r--r-- | Minecraft.Client/LocalPlayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.Client/LocalPlayer.cpp b/Minecraft.Client/LocalPlayer.cpp index cfcf85ac..d743543e 100644 --- a/Minecraft.Client/LocalPlayer.cpp +++ b/Minecraft.Client/LocalPlayer.cpp @@ -278,7 +278,7 @@ void LocalPlayer::aiStep() } if (isSneaking()) sprintTriggerTime = 0; #ifdef _WINDOWS64 - if (input->sprinting && onGround && enoughFoodToSprint && !isUsingItem() && !hasEffect(MobEffect::blindness) && !isSneaking()) + if (input->sprinting && !isSprinting() && onGround && enoughFoodToSprint && !isUsingItem() && !hasEffect(MobEffect::blindness) && !isSneaking()) { setSprinting(true); } |
