Fixed javadoc

This commit is contained in:
Auxilor
2021-11-01 16:21:44 +00:00
parent 3abf916f18
commit 58d8f72cf5
3 changed files with 8 additions and 4 deletions

View File

@@ -18,7 +18,10 @@ public class Eco {
@ApiStatus.Internal
private Handler handler;
/**
* Set the handler.
* @param handler The handler.
*/
@ApiStatus.Internal
public void setHandler(@NotNull final Handler handler) {
Validate.isTrue(Eco.handler == null, "Already initialized!");
@@ -41,9 +44,6 @@ public class Eco {
* that shouldn't be used in your plugins.
*
* @return The handler.
* @apiNote As of eco 6.12.0, the handler is no longer regarded as part
* of the eco API. It is scheduled to be made internal-only *somehow* at
* some point in the future.
*/
@ApiStatus.Internal
public Handler getHandler() {

View File

@@ -8,6 +8,9 @@ import org.jetbrains.annotations.Nullable;
import java.util.UUID;
/**
* Persistent data storage interface for players.
*/
public interface PlayerProfile {
/**
* Write a key to a player's persistent data.

View File

@@ -33,6 +33,7 @@ public class PersistentDataKey<T> {
* Create a new Persistent Data Key.
*
* @param key The key.
* @param type The data type.
* @param defaultValue The default value.
*/
public PersistentDataKey(@NotNull final NamespacedKey key,