diff --git a/eco-api/src/main/java/com/willfp/eco/core/Eco.java b/eco-api/src/main/java/com/willfp/eco/core/Eco.java index 72996060..5f5d8162 100644 --- a/eco-api/src/main/java/com/willfp/eco/core/Eco.java +++ b/eco-api/src/main/java/com/willfp/eco/core/Eco.java @@ -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() { diff --git a/eco-api/src/main/java/com/willfp/eco/core/data/PlayerProfile.java b/eco-api/src/main/java/com/willfp/eco/core/data/PlayerProfile.java index 3801cbf5..1bf3ed6e 100644 --- a/eco-api/src/main/java/com/willfp/eco/core/data/PlayerProfile.java +++ b/eco-api/src/main/java/com/willfp/eco/core/data/PlayerProfile.java @@ -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. diff --git a/eco-api/src/main/java/com/willfp/eco/core/data/keys/PersistentDataKey.java b/eco-api/src/main/java/com/willfp/eco/core/data/keys/PersistentDataKey.java index 429f93ac..b538adbc 100644 --- a/eco-api/src/main/java/com/willfp/eco/core/data/keys/PersistentDataKey.java +++ b/eco-api/src/main/java/com/willfp/eco/core/data/keys/PersistentDataKey.java @@ -33,6 +33,7 @@ public class PersistentDataKey { * 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,