Skip to content

Commit

Permalink
Fixed javadoc comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
alfonsoLeandro committed Jan 18, 2021
1 parent 03a9df1 commit 47388c7
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ public class Cooldown {
* Creates a cooldown object.
* When creating a new cooldown the HashMap is also new so players in another cooldown do not
* have nothing to do with the new cooldown.
*
* @param cooldownName The name to be given to this cooldown, used for saving to the cooldown file.
* Suggested cooldownName is "PluginName-CooldownType", i.e: "MPUtils-SendMessage"
*/
public Cooldown(String cooldownName){
this.cooldownName = cooldownName;
Expand Down Expand Up @@ -78,7 +81,7 @@ public void removeFromCooldown(String playerName){

/**
* Checks if a player is on cooldown.
* This method will be removed from MPUtils. Please use "{@link #getTimeLeft(String)} > 0" instead for
* This method will be removed from MPUtils. Please use "{@link #getTimeLeft(String)} {@literal >} 0" instead for
* checking if a player is on cooldown.
*
* @param playerName The player to look for.
Expand Down

0 comments on commit 47388c7

Please sign in to comment.