From 59cd5982ad7f97e5bf1dabb625561b4ccb5e6dd7 Mon Sep 17 00:00:00 2001 From: Andre601 <11576465+Andre601@users.noreply.github.com> Date: Mon, 14 Dec 2020 01:52:46 +0100 Subject: [PATCH] Complete fix --- build.gradle | 4 ++++ .../expansion/manager/LocalExpansionManager.java | 8 +------- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index 34b0a3c..36523ca 100644 --- a/build.gradle +++ b/build.gradle @@ -49,6 +49,10 @@ tasks.withType(JavaCompile) { options.encoding = "UTF-8" } +javadoc { + options.encoding = "UTF-8" +} + shadowJar { archiveClassifier.set("") diff --git a/src/main/java/me/clip/placeholderapi/expansion/manager/LocalExpansionManager.java b/src/main/java/me/clip/placeholderapi/expansion/manager/LocalExpansionManager.java index 79f3509..034b651 100644 --- a/src/main/java/me/clip/placeholderapi/expansion/manager/LocalExpansionManager.java +++ b/src/main/java/me/clip/placeholderapi/expansion/manager/LocalExpansionManager.java @@ -173,10 +173,7 @@ public final class LocalExpansionManager implements Listener { return Optional.empty(); } - - /** - * Do not call this method yourself, use {@link PlaceholderExpansion#register()} - */ + @ApiStatus.Internal public boolean register(@NotNull final PlaceholderExpansion expansion) { final String identifier = expansion.getIdentifier().toLowerCase(); @@ -270,9 +267,6 @@ public final class LocalExpansionManager implements Listener { return true; } - /** - * Do not call this method yourself, use {@link PlaceholderExpansion#unregister()} - */ @ApiStatus.Internal public boolean unregister(@NotNull final PlaceholderExpansion expansion) { if (expansions.remove(expansion.getIdentifier()) == null) {