Jump to content

[41.71] [Multiplayer & Singleplayer] setAllowSprint in IsoPlayer not working properly


meh

Recommended Posts

  • 41.71
  • Multiplayer & Singleplayer
  • Host
  • No mods
  • Old & New save
  • Reproduction steps:
    • 1. toggle setAllowSprint to false ==> getPlayer():setAllowSprint(false)
    • 2. double tap sprint key
    • 3. Player is now able to sprint, and furthermore player's movement is now limited to only sprinting
Link to comment
Share on other sites

Tentatively, I can't reproduce this in single player and on a hosted MP server. It acts as I'd expect: it still lets you run (shift), but prevents sprinting (alt).

Just to double check, do you have toggle to sprint set in Options? That would cause you to be stuck until you pressed alt again. But again, I couldn't get it to break even changing these settings.

Link to comment
Share on other sites

Hm, disabling "Toggle Left ALT Key to Sprint" seems to solve the problem. However when this option is enabled the issue of being stuck in a sprint despite pressing alt again seems to persist for me. Thanks for the tip!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...