mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-28 03:34:43 +02:00
Fix a handful of Javadoc issues - need to check through the rest later to ensure that we actually have updated JDs for everything
This commit is contained in:
@ -166,11 +166,11 @@ public final class Leaderboard {
|
||||
/**
|
||||
* Retrieve leaderboard info.
|
||||
*
|
||||
* @param skillName Skill to retrieve info on.
|
||||
* @param pagenumber Which page in the leaderboards to retrieve
|
||||
* @param skillType Skill to retrieve info on.
|
||||
* @param pageNumber Which page in the leaderboards to retrieve
|
||||
* @return the requested leaderboard information
|
||||
*/
|
||||
public static String[] retrieveInfo(SkillType skillType, int pagenumber) {
|
||||
public static String[] retrieveInfo(SkillType skillType, int pageNumber) {
|
||||
String[] info = new String[10];
|
||||
|
||||
List<PlayerStat> statsList = playerStatHash.get(skillType);
|
||||
@ -179,11 +179,11 @@ public final class Leaderboard {
|
||||
int destination;
|
||||
|
||||
//How many lines to skip through
|
||||
if (pagenumber == 1) {
|
||||
if (pageNumber == 1) {
|
||||
destination = 0;
|
||||
}
|
||||
else {
|
||||
destination = (pagenumber * 10) - 9;
|
||||
destination = (pageNumber * 10) - 9;
|
||||
}
|
||||
|
||||
int currentPos = 0;
|
||||
|
@ -62,9 +62,9 @@ public final class Misc {
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if a player has armor.
|
||||
* Check if a LivingEntity has armor.
|
||||
*
|
||||
* @param player Player whose armor to check
|
||||
* @param entity LivingEntity whose armor to check
|
||||
* @return true if the player has armor, false otherwise
|
||||
*/
|
||||
public static boolean hasArmor(LivingEntity entity) {
|
||||
|
@ -94,7 +94,7 @@ public final class Users {
|
||||
/**
|
||||
* Get the profile of a player by name.
|
||||
*
|
||||
* @param player The name of the player whose profile to retrieve
|
||||
* @param playerName The name of the player whose profile to retrieve
|
||||
* @return the player's profile
|
||||
*/
|
||||
public static PlayerProfile getProfile(String playerName) {
|
||||
@ -106,7 +106,7 @@ public final class Users {
|
||||
/**
|
||||
* Get the McMMOPlayer of a player by name.
|
||||
*
|
||||
* @param player The name of the player whose McMMOPlayer to retrieve
|
||||
* @param playerName The name of the player whose McMMOPlayer to retrieve
|
||||
* @return the player's McMMOPlayer object
|
||||
*/
|
||||
public static McMMOPlayer getPlayer(String playerName) {
|
||||
|
Reference in New Issue
Block a user