From cdf0cc01e50489382b7478bc7f8c894a4af263d7 Mon Sep 17 00:00:00 2001 From: bearofbusiness Date: Wed, 9 Oct 2024 15:58:27 -0400 Subject: [PATCH] added a little more to the javadocs --- .../vindicterralib/commandcreator/ChildCommand.java | 3 ++- .../vindicterralib/commandcreator/ParentCommand.java | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/vindicterra/vindicterralib/commandcreator/ChildCommand.java b/src/main/java/org/vindicterra/vindicterralib/commandcreator/ChildCommand.java index f80a67e..32ad312 100644 --- a/src/main/java/org/vindicterra/vindicterralib/commandcreator/ChildCommand.java +++ b/src/main/java/org/vindicterra/vindicterralib/commandcreator/ChildCommand.java @@ -23,7 +23,8 @@ * aliases = {"ex", "e"},
* playerOnly = true,
* usage = "{@literal } {@literal } [optional param]",
- * requiredArgs = 2) + * requiredArgs = 2)
+ * public class ExampleChildCommand extends ChildCommand { * @see ParentCommand * @see CommandData Uses an annotation to define the command */ diff --git a/src/main/java/org/vindicterra/vindicterralib/commandcreator/ParentCommand.java b/src/main/java/org/vindicterra/vindicterralib/commandcreator/ParentCommand.java index 82d6ae4..86232ad 100644 --- a/src/main/java/org/vindicterra/vindicterralib/commandcreator/ParentCommand.java +++ b/src/main/java/org/vindicterra/vindicterralib/commandcreator/ParentCommand.java @@ -35,7 +35,9 @@ * aliases = {"ex", "e"},
* playerOnly = true,
* usage = "{@literal } {@literal } [optional param]",
- * requiredArgs = 2) + * requiredArgs = 2)
+ * public class exampleCommand extends ParentCommand { + * */ @SuppressWarnings({"unused", "deprecation"}) @Getter