Interface CooldownChecker
public interface CooldownChecker
Decides whether a player is still inside a cooldown window.
-
Method Summary
-
Method Details
-
check
Checks the cooldown and, when it has run out, starts a new window.- Parameters:
playerUUID- the player to checkcooldown- the cooldown settingscooldownOwner- what the cooldown applies to, so separate actions do not share one timer- Returns:
- true if the player must still wait
-