From 68f57296d45f6ac50773b2a1accb4907f12f9e16 Mon Sep 17 00:00:00 2001 From: ShreyasAyyengar Date: Sat, 14 Sep 2024 10:03:54 -0700 Subject: [PATCH] Add JavaDoc Signed-off-by: ShreyasAyyengar --- .../org/bukkit/event/player/PlayerAttackCooldownEvent.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/bukkit/event/player/PlayerAttackCooldownEvent.java b/src/main/java/org/bukkit/event/player/PlayerAttackCooldownEvent.java index d1db4c01..10274f69 100644 --- a/src/main/java/org/bukkit/event/player/PlayerAttackCooldownEvent.java +++ b/src/main/java/org/bukkit/event/player/PlayerAttackCooldownEvent.java @@ -6,7 +6,8 @@ import org.bukkit.event.HandlerList; import org.jetbrains.annotations.NotNull; /** - * Called when a player's attack cooldown ticker starts. + * Called when a player's attack cooldown ticker starts. If cancelled, the damage inflicted upon the next hit + * entity will be at a maximum modifer. *

* Warning: Cancelling this event has no impact on the cooldown graphic displayed to the client. If cancelled, * Bukkit will not reset the cooldown ticker, but the client will still display the cooldown graphic regardless.