Skip to content
This repository was archived by the owner on Feb 19, 2019. It is now read-only.

Commit 9df110a

Browse files
committed
Fixed minor error
1 parent b25d68a commit 9df110a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/me/zero/client/api/command/Command.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public abstract class Command implements ICommand {
1414

1515
public Command() {
1616
if (!this.getClass().isAnnotationPresent(Cmd.class))
17-
throw new RuntimeException(new CommandInitException("@Cmd annotation not found!"));
17+
throw new RuntimeException(new CommandInitException(this, "@Cmd annotation not found!"));
1818

1919
Cmd cmd = this.getClass().getAnnotation(Cmd.class);
2020
this.headers = cmd.headers();

0 commit comments

Comments
 (0)