Add JavaDoc

Signed-off-by: ShreyasAyyengar <shreyas.ayyengar@gmail.com>
This commit is contained in:
ShreyasAyyengar 2024-09-14 10:03:54 -07:00
parent 4a8fef719c
commit 68f57296d4

View file

@ -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.
* <p>
* Warning: <b>Cancelling this event has no impact on the cooldown graphic displayed to the client.</b> If cancelled,
* Bukkit will not reset the cooldown ticker, but the client will still display the cooldown graphic regardless.