
Eymistaken's HUD
A highly customizable PvP HUD featuring a Drag & Drop Layout Designer, CPS, Keystrokes, Reach, Armor HUD and Combo display.
Список изменений
Changelog
[1.0.9-6] - [HOTFIX]
Fixed
-
Keystrokes CPS display showing incorrect values when CPS module is disabled — The
tick()method inCpsModulecontained an early return guard gated onisEnabled(). This caused theleftClicksandrightClickslists to stop being pruned when the module was disabled, whileMixinMousecontinued 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 —
MixinLivingEntitywas injecting into thedamage(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 ahurtTimepoll insideComboTracker.onTick(). AlastHurtTimefield is compared againstclient.player.hurtTimeeach 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.
