# Changelog
## [1.0.9-6] - [HOTFIX]
### Fixed
- **Keystrokes CPS display showing incorrect values when CPS module is disabled** — The `tick()` method in `CpsModule` contained an early return guard gated on `isEnabled()`. This caused the `leftClicks` and `rightClicks` lists to stop being pruned when the module was disabled, while `MixinMouse` continued to populate them unconditionally. As a result, the Keystrokes module's per-button CPS counter read from a list that grew indefinitely. The early return has been removed so the lists are always pruned on every tick regardless of module visibility.
- **Combo not resetting on damage** — `MixinLivingEntity` was injecting into the `damage(ServerWorld, DamageSource, float)` method, which is server-side and never invoked in a client-side mod context. Consequently, `ComboTracker.onDamage()` was never called and the combo counter did not reset when the player took a hit. The fix replaces the mixin-based approach with a `hurtTime` poll inside `ComboTracker.onTick()`. A `lastHurtTime` field is compared against `client.player.hurtTime` each tick; when a transition from 0 to a positive value is detected, `onDamage()` is triggered directly.
### API
No breaking changes. The public surface of `HudModule`, `EymistakenHudPlugin`, and `HudModuleManager` is unchanged. Existing plugins remain binary-compatible and do not require recompilation.
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }