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:
parent
faa3219add
commit
6e27ea0ca1
@ -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;
|
||||
|
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user