# Changelog
All notable changes to the **HealthSync** project will be documented in this file.
## [0.2] - 2026-01-08
### ✨ New Features
* **Smart Respawn System**: Implemented logically consistent respawn mechanics.
* Respawning players now inherit the group's current low health/hunger state instead of healing the group to full.
* Prevents "tactical suicide" to restore team health.
* **Invitation Expiry**: Group invites now automatically expire after 60 seconds to prevent invite spam lingering.
### 🐛 Bug Fixes
* **Infinite Damage Loop**: Fixed a critical recursion issue where syncing damage would trigger the damage event again, causing server crashes (StackOverflow).
* **Potion Effect Loop**: Resolved an issue where syncing potion effects caused an infinite update loop between client and server.
* **Hunger Sync Glitch**: Fixed an issue where saturation synchronization could cause "ghost hunger" updates.
* **Group Cleanup**: Fixed a logic error where groups would not properly dissolve if the owner disconnected, leaving "ghost groups".
### ⚡ Improvements
* **Performance**: Optimized the `HealingListener` and `HungerListener` to use cached values, reducing the number of unnecessary packet updates.
* **Code Structure**: Refactored `LinkManager` to better handle Group objects instead of raw UUID maps.
* **GUI**: Updated the Management GUI to correctly display live heart/hunger values of members.
## [0.1] - Previous
* Initial Groups Implementation.
* Basic Health Sharing.
* GUI Introduction.
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" }