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

Add OnSprayRemove hook and splashThreshold field #418

Closed
wants to merge 1 commit into from

Conversation

WheteThunger
Copy link
Contributor

  • Added object OnSprayRemove(SprayCanSpray spray, BasePlayer player) hook, which can be used to prevent a player from washing away a spray while holding a water item
  • Added the splashThreshold field to the SprayCanSpray class, which determines how much water in ml is required to wash away a spray (e.g., when deselecting a bucket of water)
  • Exposed various fields/methods for spray entities

@lukespragg
Copy link
Member

Merged, thanks!

@lukespragg lukespragg closed this Jun 13, 2022
@WheteThunger WheteThunger deleted the on-spray-remove branch June 14, 2022 02:03
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