Upgraded Lives Management: Enhanced the logic for managing upgraded lives. Upgraded lives are now correctly decremented before regular lives, ensuring a more intuitive survival experience for players. This update prevents upgraded lives from going into negatives and ensures proper notifications are sent to players upon consumption of an upgraded life.
Final Variables in Lambdas: Fixed an issue where local variables used in lambda expressions within event handlers were not effectively final. This technical improvement ensures compatibility with Java's lambda expression requirements, improving the stability and reliability of the plugin.
Bug Fixes:
Fixed PlaceholderAPI Registration: Addressed an issue where the PlaceholderAPI expansion was not being registered correctly, leading to placeholders not being replaced as expected.
Corrected Player Notifications: Adjusted player notification messages for clarity and consistency, ensuring players receive accurate feedback regarding their lives status.