072452625a923738b86c7f150972e7b0bfb7a45a
When becoming affected by an ice spell, such as Ice Barrage, when moving prior to the effect's start, the previous code had a subtle bug where the freeze timer would be applied in the chat message subscriber, but the `client` would update the player's position before the onGameTick subscriber was executed, meaning any movement on the same tick the player became frozen would be registered as "movement", thus removing that timer. This fix sidesteps that issue by also ensuring that the client's tick is different than the freeze tick, since that value appears to remain unmodified between execution of these two methods. Fixes runelite/runelite#6658
…
…
runelite

RuneLite is a free, open source OldSchool RuneScape client.
If you have any questions, please join our IRC channel on irc.rizon.net #runelite or alternatively our Discord server.
Project Layout
- cache - Libraries used for reading/writing cache files, as well as the data in it
- http-api - API for api.runelite.net
- http-service - Service for api.runelite.net
- runelite-api - RuneLite API, interfaces for accessing the client
- runelite-mixins - Mixins which are injected into the injected client's classes
- runescape-api - Mappings correspond to these interfaces, runelite-api is a subset of this
- runelite-client - Game client with plugins
Usage
Open the project in your IDE as a Maven project, build the root module and then run the RuneLite class in runelite-client.
For more information visit the RuneLite Wiki.
License
RuneLite is licensed under the BSD 2-clause license. See the license header in the respective file to be sure.
Contribute and Develop
We've set up a separate document for our contribution guidelines.
Description
Languages
Java
98.9%
GLSL
0.7%
C
0.3%
