mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-28 03:34:43 +02:00
Config files will update automatically again
This commit is contained in:
@ -303,7 +303,7 @@ public final class Misc {
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether or not a player is the party leader of a party
|
||||
* Whether a player is the party leader of a party
|
||||
*
|
||||
* @param mmoPlayer target player
|
||||
* @return true if the player is the party leader
|
||||
|
@ -5,7 +5,7 @@ package com.gmail.nossr50.util.compat;
|
||||
*/
|
||||
public interface CompatibilityLayer {
|
||||
/**
|
||||
* Whether or not this CompatibilityLayer successfully initialized and in theory should be functional
|
||||
* Whether this CompatibilityLayer successfully initialized and in theory should be functional
|
||||
* @return true if this CompatibilityLayer is functional
|
||||
*/
|
||||
default boolean noErrorsOnInitialize() { return true; };
|
||||
|
@ -151,7 +151,10 @@ public class ExperienceBarWrapper {
|
||||
|
||||
private void createBossBar()
|
||||
{
|
||||
bossBar = mcMMOPlayer.getPlayer().getServer().createBossBar(title, ExperienceConfig.getInstance().getExperienceBarColor(primarySkillType), ExperienceConfig.getInstance().getExperienceBarStyle(primarySkillType));
|
||||
bossBar = mcMMOPlayer.getPlayer().getServer().createBossBar(
|
||||
title,
|
||||
ExperienceConfig.getInstance().getExperienceBarColor(primarySkillType),
|
||||
ExperienceConfig.getInstance().getExperienceBarStyle(primarySkillType));
|
||||
bossBar.addPlayer(mcMMOPlayer.getPlayer());
|
||||
}
|
||||
}
|
||||
|
@ -84,7 +84,7 @@ public abstract class MajorMinorPatchVersion implements Versioned {
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether or not this version of Minecraft is a patch
|
||||
* Whether this version of Minecraft is a patch
|
||||
* a patch version value above 0 will indicate that this is a patch
|
||||
* @return true if this version is a patch
|
||||
*/
|
||||
|
@ -28,7 +28,7 @@ public class MinecraftGameVersion extends MajorMinorPatchVersion {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns whether or not the Minecraft version is at least equal to or higher than a target version
|
||||
* Returns whether the Minecraft version is at least equal to or higher than a target version
|
||||
* @param majorVerNumber target major version number - for example 1.16.5 , the 1 is the major version
|
||||
* @param minorVerNumber target minor version number - for example 1.16.5, the 16 is the minor version
|
||||
* @param patchVerNumber target patch version number - for example 1.16.5, the 5 is the patch version number
|
||||
|
@ -104,7 +104,7 @@ public class RankUtils {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns whether or not the player has unlocked the first rank in target subskill
|
||||
* Returns whether the player has unlocked the first rank in target subskill
|
||||
* @param player the player
|
||||
* @param subSkillType the target subskill
|
||||
* @return true if the player has at least one rank in the skill
|
||||
@ -118,7 +118,7 @@ public class RankUtils {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns whether or not the player has unlocked the first rank in target subskill
|
||||
* Returns whether the player has unlocked the first rank in target subskill
|
||||
* @param player the player
|
||||
* @param abstractSubSkill the target subskill
|
||||
* @return true if the player has at least one rank in the skill
|
||||
@ -132,7 +132,7 @@ public class RankUtils {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns whether or not the player has reached the specified rank in target subskill
|
||||
* Returns whether the player has reached the specified rank in target subskill
|
||||
* @param rank the target rank
|
||||
* @param player the player
|
||||
* @param subSkillType the target subskill
|
||||
@ -144,7 +144,7 @@ public class RankUtils {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns whether or not the player has reached the specified rank in target subskill
|
||||
* Returns whether the player has reached the specified rank in target subskill
|
||||
* @param rank the target rank
|
||||
* @param player the player
|
||||
* @param abstractSubSkill the target subskill
|
||||
|
Reference in New Issue
Block a user