Always sprint when walking forwards in Minecraft 1.7.10 & 1.8.9.
Don't check if the forward keybind is pressed instead hold the sprint key by default on any KeyInputEvent.
KeyInputEvent