Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with BossBar Progress in AuraSkills v2.2.3 (EntityDamageByEntityEvent) #322

Open
3 tasks done
thisisaef opened this issue Oct 1, 2024 · 2 comments
Open
3 tasks done
Assignees
Labels
type: bug Something is not working as intended

Comments

@thisisaef
Copy link

Server software and version

PaperMC version 1.21.1-110-master@6d7a438

Expected behavior

Describe the Bug: The plugin AuraSkills v2.2.3 throws an error during the EntityDamageByEntityEvent event, specifically related to setting the BossBar progress. The error occurs due to a java.lang.IllegalArgumentException stating that the progress must be between 0.0 and 1.0 but receives NaN.

Expected Behavior: The plugin should correctly calculate and set the progress for the BossBar without throwing an exception.

Actual behavior

The plugin throws an exception when attempting to set the BossBar progress due to an invalid value (NaN).

How to reproduce

  1. Trigger an entity damage event (e.g., player or mob combat).
  2. The AuraSkills plugin tries to handle the event, leading to the BossBar progress issue.

Additional information

Log Error: https://paste.helpch.at/nofebuhocu.php
Latestlog: https://paste.helpch.at/ukemofobux.makefile

Plugin List:

  • AuraSkills 2.2.3
  • AuraMobs 2.1.0

Additional Information: This issue might be linked to how XP or damage is calculated or displayed through the BossBar. Logs show the exception as related to the BossBarManager.

Agreements

@thisisaef thisisaef added the type: bug Something is not working as intended label Oct 1, 2024
@Archy-X
Copy link
Owner

Archy-X commented Oct 1, 2024

This should already be fixed on the latest dev build: https://aurelium.dev/auraskills/download?channel=dev

@thisisaef
Copy link
Author

Ok, Thank u

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something is not working as intended
Projects
None yet
Development

No branches or pull requests

2 participants