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 Non-Player Splash Potions #1636

Merged
merged 1 commit into from Oct 25, 2021

Conversation

Jikoo
Copy link
Collaborator

@Jikoo Jikoo commented Oct 24, 2021

This isn't a full resolution of the issues with the PotionSplashEvent but it should fix the major problems.

  • Fix NPE on non-player thrower
  • Fix non-player thrower warning console when blocked
  • Fix only first affected entity being saved from effect
  • Allow dispensers inside the same claim to harm entities with potions (consistent with arrows)
  • Fix spamming player on multi-hit/multi-effect

Closes #1616
Closes #971

- Fix NPE on non-player thrower
- Fix non-player thrower warning console when blocked
- Fix only first entity being saved
- Allow dispensers inside the same claim to harm entities with potions (consistent with arrows)
- Fix spamming player on multi-hit/multi-effect
@RoboMWM RoboMWM merged commit a844e39 into GriefPrevention:master Oct 25, 2021
@Jikoo Jikoo deleted the fix/splash-potion branch October 25, 2021 20:34
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.

Could not pass event PotionSplashEvent to GriefPrevention [GriefPrevention] That belongs to X
2 participants