Bug Fixes - Fixed critical sorting issue that caused
IllegalArgumentException: Comparison method violates its general contract! during chunk unloading operations
- The smart chunk unloader now
captures heat values before sorting to ensure comparison consistency
- This prevents crashes that could occur when the server was processing chunk unload tasks
Details - Resolved race condition in
SmartChunkUnloader.identifyColdChunks() where volatile heat values could change
during sort operations
- Improved stability of chunk management system under high load conditions