Skip to content

Check projectile death state, fixes #14#24

Merged
TechnicallyCoded merged 2 commits into
TechnicallyCoded:devfrom
PikaMug:dev
Aug 5, 2024
Merged

Check projectile death state, fixes #14#24
TechnicallyCoded merged 2 commits into
TechnicallyCoded:devfrom
PikaMug:dev

Conversation

@PikaMug

@PikaMug PikaMug commented Aug 4, 2024

Copy link
Copy Markdown
Contributor

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

@TechnicallyCoded

Copy link
Copy Markdown
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

PikaMug commented Aug 5, 2024

Copy link
Copy Markdown
Contributor Author

Sure, but where do you want it?

@TechnicallyCoded

Copy link
Copy Markdown
Owner

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

@PikaMug

PikaMug commented Aug 5, 2024

Copy link
Copy Markdown
Contributor Author

@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.

2 participants