diff --git a/eco-api/src/main/java/com/willfp/eco/core/command/NotificationException.java b/eco-api/src/main/java/com/willfp/eco/core/command/NotificationException.java index 4fab3828..923ee793 100644 --- a/eco-api/src/main/java/com/willfp/eco/core/command/NotificationException.java +++ b/eco-api/src/main/java/com/willfp/eco/core/command/NotificationException.java @@ -1,20 +1,19 @@ package com.willfp.eco.core.command; /** - * An Exception class used for notifying a sender - * with a langYml message + * A notification exception is thrown when {@link org.bukkit.command.CommandSender}s don't + * specify valid arguments in commands. */ public class NotificationException extends Exception { - /** - * The langYml key of the notification string. + * The key for the lang.yml message to be sent. */ private final String key; /** * Creates a notification exception. * - * @param key the lang key of the notification. + * @param key The lang key of the notification. */ public NotificationException(String key) { super(key); @@ -24,7 +23,7 @@ public class NotificationException extends Exception { /** * Get the lang key. * - * @return the lang key + * @return The lang key. */ public String getKey() { return key; diff --git a/eco-api/src/main/java/com/willfp/eco/core/command/impl/DelegatedBukkitCommand.java b/eco-api/src/main/java/com/willfp/eco/core/command/impl/DelegatedBukkitCommand.java index 0bc07ea6..6b11fb6c 100644 --- a/eco-api/src/main/java/com/willfp/eco/core/command/impl/DelegatedBukkitCommand.java +++ b/eco-api/src/main/java/com/willfp/eco/core/command/impl/DelegatedBukkitCommand.java @@ -11,8 +11,10 @@ import java.util.List; /** * Delegates a bukkit command to an eco command (for registrations). + * + * @deprecated Internal command implementations have been removed from the API. */ -@Deprecated(forRemoval = true) +@Deprecated(forRemoval = true, since = "6.49.0") public final class DelegatedBukkitCommand extends Command implements TabCompleter, PluginIdentifiableCommand { /** * The delegate command.