Skip to content

Commit

Permalink
Commentary updated
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanOff committed Jan 18, 2021
1 parent 8340e50 commit d041344
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion com/gaetan/staffpin/StaffPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ protected void registerListener() {

/**
* Getter to get the PlayerData of a specific player.
* Note: The player must have the pin permission.
*
* @param player player The choosen player
* @return The PlayerData of the choosen player
Expand All @@ -71,7 +72,7 @@ public PlayerData getPlayer(final Player player) {
/**
* Getter to get the Map of all PlayerData.
*
* @return The map
* @return The map containing all the players and PlayerData with the pin permission
*/
public Map<Player, PlayerData> getPlayers() {
return this.players;
Expand Down
2 changes: 1 addition & 1 deletion com/gaetan/staffpin/data/PlayerData.java
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public String getPin() {
}

/**
* Setter to set if player is login or not.
* Setter to set if player is login.
*
* @param login The state of his login
*/
Expand Down

0 comments on commit d041344

Please sign in to comment.