mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-03-25 22:29:02 +02:00
Remove the !player->abilities.flying guard that was incorrectly added around the Ctrl-sprint block in Input.cpp during the KBM refactor. This prevented Ctrl+W from initiating sprint while flying in creative mode. Sprinting on the ground in both survival and creative worked fine. The sprint flag now sets correctly whenever Ctrl+W is held, including while flying. LocalPlayer::aiStep() still properly gates setSprinting() with onGround, enoughFoodToSprint, isUsingItem etc. Fixes smartcmd/MinecraftConsoles#470
5.8 KiB
5.8 KiB