Skip to content

Limitied Spectator v1.2.1 - 🔧 Code Quality Hotfix

Choose a tag to compare

@kalashnikxvxiii kalashnikxvxiii released this 23 Dec 13:41

Minor code quality improvements and performance optimizations in client-side event handling.

Fixed

  • Removed duplicate condition check in ClientEventHandler.onMouseClick()
    • Merged redundant isSpectator() check that was executed twice
    • Simplified logic flow for better readability
  • Commented out production debug log in ClientEventHandler.onRenderHud()
    • Debug log was executing every frame, causing log spam
    • Moved to commented debug section for development use only

Performance

  • Reduced redundant condition checks in mouse input handling
  • Eliminated per-frame debug logging in production builds

Technical

  • No functional changes or API modifications
  • Pure code cleanup and optimization
  • Build remains compatible with v1.2.0