Config files will update automatically again

This commit is contained in:
nossr50
2023-04-11 15:39:01 -07:00
parent 921a0228db
commit 0ab93586fd
45 changed files with 154 additions and 196 deletions

View File

@ -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

View File

@ -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; };

View File

@ -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());
}
}

View File

@ -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
*/

View File

@ -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

View File

@ -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