From c1213bb0ca2f0d1d72489984335810e70877c85b Mon Sep 17 00:00:00 2001 From: Him188 Date: Thu, 25 Aug 2022 16:05:15 +0800 Subject: [PATCH] [docs] Fix typo, close #2207 --- mirai-console/docs/Commands.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mirai-console/docs/Commands.md b/mirai-console/docs/Commands.md index 3db920484..c1af11d95 100644 --- a/mirai-console/docs/Commands.md +++ b/mirai-console/docs/Commands.md @@ -474,9 +474,9 @@ object MySimple : SimpleCommand( *Java* ```java -// MyComposite.java -public final class MyComposite extends JCompositeCommand { - public MyComposite() { +// MySimple.java +public final class MySimple extends JSimpleCommand { + public MySimple() { super(MyPluginMain.INSTANCE, "main"); // ...