diff --git a/plugin/build.gradle.kts b/plugin/build.gradle.kts index 9cfdfa0c..a705b7e0 100644 --- a/plugin/build.gradle.kts +++ b/plugin/build.gradle.kts @@ -19,6 +19,16 @@ dependencies { compileOnly(libs.placeholder.api) } +tasks.withType().configureEach { + title = "LibsDisguises" + + javadocTool.set( + javaToolchains.javadocToolFor { + languageVersion = JavaLanguageVersion.of(21) + } + ) +} + publishing { repositories { // If 'publishToExternalRepo' is false or missing, only publish to local. diff --git a/plugin/src/main/java/me/libraryaddict/disguise/disguisetypes/MetaIndex.java b/plugin/src/main/java/me/libraryaddict/disguise/disguisetypes/MetaIndex.java index db10b518..c6c0b3c9 100644 --- a/plugin/src/main/java/me/libraryaddict/disguise/disguisetypes/MetaIndex.java +++ b/plugin/src/main/java/me/libraryaddict/disguise/disguisetypes/MetaIndex.java @@ -949,8 +949,8 @@ public class MetaIndex { } /** - * Simple verification for the dev that he's setting up the FlagType's properly. - * All flag types should be from 0 to with no empty numbers. + * Simple verification for the dev that they're setting up the FlagType's properly. + * All flag types should be from 0 to {@code Max Number} with no empty numbers. * All flag types should never occur twice. */ public static void validateMetadata() { @@ -1067,7 +1067,7 @@ public class MetaIndex { /** * @param watcherClass - A flagwatcher class - * @return ArrayList registered to that FlagWatcher + * @return MetaIndexes registered to that FlagWatcher */ public static ArrayList getMetaIndexes(Class watcherClass) { ArrayList list = new ArrayList<>();