Closed LapinoLapidus closed 1 year ago
What happens if you sprint, mount your horse, and then dismount again all while keep sprinting? Will the server then not think that you are not sprinting but since you are sprinting locally it will lag you back or something?
Currently, whenever you sprint and mount your horse, your stamina bar will keep running out until you remount it while not sprinting. This one-liner fixes that by stopping the sprinting of the player. I've tried restoring the sprint status after mounting but then the stamina bar runs out again, maybe there needs to be a little wait time? Not sure how you'd like me to implement that though as that may be confusing for the end user, so I'll just leave it like this for now