diff --git a/lib/src/main/java/net/tomatentum/marinara/interaction/commands/annotation/SubCommand.java b/lib/src/main/java/net/tomatentum/marinara/interaction/commands/annotation/SubCommand.java index 004f5cd..5a2a30d 100644 --- a/lib/src/main/java/net/tomatentum/marinara/interaction/commands/annotation/SubCommand.java +++ b/lib/src/main/java/net/tomatentum/marinara/interaction/commands/annotation/SubCommand.java @@ -5,7 +5,7 @@ import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; -@Target({ElementType.METHOD, ElementType.TYPE}) +@Target({ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME) public @interface SubCommand { public String name();