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

player.HideEntity checks EntityHandle, prevent the player from hiding itself #998

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

AkmalFairuz
Copy link
Contributor

@AkmalFairuz AkmalFairuz commented Jan 23, 2025

  • server/player/player.go: Modified the HideEntity method to compare the unique identifiers of the player and the entity to prevent the player from hiding itself.

@AkmalFairuz AkmalFairuz changed the title player.HideEntity checks EntityHandle player.HideEntity checks EntityHandle, prevent the player from hiding itself Jan 23, 2025
@DaPigGuy DaPigGuy merged commit 686920e into df-mc:master Jan 23, 2025
1 check passed
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