[SPIGOT-6221] Missing API: Splash Water Bottles do not throw PotionSplashEvent. Created: 05/Nov/20 Updated: 05/Nov/20 |
|
| Status: | Open |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Llm Dl | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | API, PotionSplashEvent | ||
| Environment: |
Unrelated. |
||
| Version: | This server is running CraftBukkit version git-Spigot-57bbdd8-dea4138 (MC: 1.16.3) (Implementing API version 1.16.3-R0.1-SNAPSHOT) |
| Guidelines Read: | Yes |
| Description |
|
The only splash potion to not throw a PotionSplashEvent is the Splash Water Bottle item. This is also the only water bottle item capable of extinguishing a Camp Fire. Since the ProjectileHitEvent still is not cancellable, and the PotionSplashEvent is, I think it would make sense that the Splash Water Bottle also throw a PotionSplashEvent now. |
| Comments |
| Comment by Black Hole [ 05/Nov/20 ] |
|
There is no potion applied for water splash potions, water lingering potions and water arrows. For water splash potions extinguishing fire and camp fire, an EntityChangeBlockEvent is called. |