From 2bac163e578211f4ccf9e5f952a82aa35c8182bb Mon Sep 17 00:00:00 2001 From: yoyosource Date: Thu, 9 Dec 2021 15:26:31 +0100 Subject: [PATCH] Update SWCommand.OptionalValue --- SpigotCore_Main/src/de/steamwar/command/SWCommand.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/SpigotCore_Main/src/de/steamwar/command/SWCommand.java b/SpigotCore_Main/src/de/steamwar/command/SWCommand.java index 7126fe8..0558dad 100644 --- a/SpigotCore_Main/src/de/steamwar/command/SWCommand.java +++ b/SpigotCore_Main/src/de/steamwar/command/SWCommand.java @@ -361,6 +361,9 @@ public abstract class SWCommand { @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.PARAMETER}) protected @interface OptionalValue { - String defaultValue(); // Will pe parsed against the TypeMapper specified by the parameter or annotation + /** + * Will pe parsed against the TypeMapper specified by the parameter or annotation. + */ + String value(); } }