+ Optimized crystal registratration
+ Optimized player damage checks
+ Fixed self-combat doesn't work for crystal system
Recommended to update if you use "link-end-crystals: true"
MAKE SURE TO DELETE YOUR CONFIG.YML AS THIS UPDATE COMES WITH ALOT OF NEW FEATURES
Added
Subcommands /combat toggle and /combat reload to the /combat command.
Method registerCrystalPlacer in the Combat class to track crystal placements.
Advanced config with alot of new features
Added new link configurations
Optimized
Centralized listener registration in the registerListeners method.
Improved combat timer logic for better efficiency.
Improved combat checker logic
Fixed
untag-on-enemy-death: false now keeps the player in combat when their opponent dies.
Fixed logic for self-combat and link-projectiles to ensure hitting yourself with a projectile does not place you in combat if link-projectiles is false.
Corrected handling of end crystal damage to properly set combat between the placer and the damaged player.
Improved
Enhanced /combat command usability by consolidating subcommands.
Added debug messages for better troubleshooting of "link" configurations.