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(combat): kick for self-attacking #430

Merged
merged 6 commits into from
Dec 29, 2024
Merged

Conversation

DataM0del
Copy link
Contributor

Description

Kicks the player when the entity they're attacking has the same ID as their ID.

Testing

Use the kick module with self-hurt mode and expect to be kicked.

2024-12-29.09-43-49.mp4

Checklist

Things need to be done before this Pull Request can be merged.

  • Code is well-formatted and adheres to project style guidelines: cargo fmt
  • Code does not produce any clippy warnings: cargo clippy
  • All unit tests pass: cargo test

@DataM0del DataM0del marked this pull request as ready for review December 29, 2024 15:28
@Snowiiii
Copy link
Member

Looks good. Thank you @DataM0del :D

@Snowiiii Snowiiii merged commit f4de9e4 into Pumpkin-MC:master Dec 29, 2024
9 checks 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