Complete fix

This commit is contained in:
Andre601 2020-12-14 01:52:46 +01:00
parent b3893c38db
commit 59cd5982ad
2 changed files with 5 additions and 7 deletions

View File

@ -49,6 +49,10 @@ tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
javadoc {
options.encoding = "UTF-8"
}
shadowJar {
archiveClassifier.set("")

View File

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