1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-19 19:25:48 +00:00

[CI skip] Fixed javadocs

This commit is contained in:
TheBusyBiscuit 2021-01-13 13:48:56 +01:00
parent faa3219add
commit 6e27ea0ca1
2 changed files with 6 additions and 2 deletions

View File

@ -59,6 +59,8 @@ public enum MinecraftVersion {
* This constructor forces the {@link MinecraftVersion} to be real.
* It must be a real version of Minecraft.
*
* @param majorVersion
* The major version of minecraft as an {@link Integer}
* @param name
* The display name of this {@link MinecraftVersion}
*/
@ -117,7 +119,9 @@ public enum MinecraftVersion {
* Example: {@literal "1.13"} returns {@literal 13}
*
* @param minecraftVersion
* @return
* The {@link Integer} version to match
*
* @return Whether this {@link MinecraftVersion} matches the specified version id
*/
public boolean isMinecraftVersion(int minecraftVersion) {
return !isVirtual() && this.majorVersion == minecraftVersion;

View File

@ -268,7 +268,7 @@ public class Category implements Keyed {
/**
* This method returns whether this {@link Category} has been registered yet.
* More specifically: Whether {@link #register()} was called or not.
* More specifically: Whether {@link #register(SlimefunAddon)} was called or not.
*
* @return Whether this {@link Category} has been registered
*/