mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-31 20:22:05 -07:00
Call PlayerLaunchProjectileEvent for trident (#8027)
This commit is contained in:
@@ -21,7 +21,11 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+import org.jetbrains.annotations.NotNull;
|
||||
+
|
||||
+/**
|
||||
+ * Called when a player shoots a projectile
|
||||
+ * Called when a player shoots a projectile.
|
||||
+ * <p>
|
||||
+ * Notably this event is not called for arrows as the player does not launch them, rather shoots them with the help
|
||||
+ * of a bow or crossbow. A plugin may listen to {@link org.bukkit.event.entity.EntityShootBowEvent} for these actions
|
||||
+ * instead.
|
||||
+ */
|
||||
+public class PlayerLaunchProjectileEvent extends PlayerEvent implements Cancellable {
|
||||
+ private static final HandlerList handlers = new HandlerList();
|
||||
|
Reference in New Issue
Block a user