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

Check projectile death state, fixes #14 #24

Merged
merged 2 commits into from
Aug 5, 2024
Merged

Check projectile death state, fixes #14 #24

merged 2 commits into from
Aug 5, 2024

Conversation

PikaMug
Copy link
Contributor

@PikaMug PikaMug commented Aug 4, 2024

Specific check for projectiles, as Paper and Folia treat isValid() differently.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@TechnicallyCoded
Copy link
Owner

I didn't realize how many times this was checked. Can we move that to a method isValid(entity) and it does all this checking (normal entities, players, projectiles)?

@PikaMug
Copy link
Contributor Author

PikaMug commented Aug 5, 2024

Sure, but where do you want it?

@TechnicallyCoded
Copy link
Owner

At the bottom of each impl, I think there are some other local utilities down there already

@PikaMug
Copy link
Contributor Author

PikaMug commented Aug 5, 2024

@TechnicallyCoded ✔️

@TechnicallyCoded TechnicallyCoded merged commit ef065c0 into TechnicallyCoded:dev Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants