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

Fix ambigious function naming #3161

Merged
merged 1 commit into from
Aug 18, 2023
Merged

Conversation

frej4189
Copy link
Contributor

As noted here: #2492 (comment), the function to determine whether an entity is dead for physics purposes has very ambigious naming which could potentially lead to confusion (and worsened maintainability).

Vanilla client handles this by actually removing the entity, so my naming reflects that behaviour (but note the PR does not actually implement such behaviour).

Copy link
Member

@extremeheat extremeheat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I agree the current naming is missing a "should" prefix to make clear it's not executing anything

@rom1504 rom1504 merged commit 9ecdf20 into PrismarineJS:master Aug 18, 2023
@frej4189 frej4189 deleted the no-ambiguity branch August 20, 2023 07:50
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.

3 participants