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

Expose isUnderWater to Entity #8454

Merged
merged 1 commit into from
Oct 11, 2022
Merged

Expose isUnderWater to Entity #8454

merged 1 commit into from
Oct 11, 2022

Conversation

SoSeDiK
Copy link
Contributor

@SoSeDiK SoSeDiK commented Oct 11, 2022

There was already a fitting patch for this, so I just threw it in there, as well as cleaned it up a bit.

Differs from Entity#isInWater in a way that it requires eyes to be emerged as well instead of just touching the water with any body part.

@SoSeDiK SoSeDiK requested a review from a team as a code owner October 11, 2022 12:27
@kennytv kennytv merged commit b097a24 into PaperMC:master Oct 11, 2022
@SoSeDiK SoSeDiK deleted the underwater branch October 11, 2022 13:43
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