From de6bf17f0eefa65137d4635ffdd76728176064eb Mon Sep 17 00:00:00 2001 From: Him188 Date: Thu, 25 Aug 2022 15:05:10 +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 cd9ddada3..3db920484 100644 --- a/mirai-console/docs/Commands.md +++ b/mirai-console/docs/Commands.md @@ -434,9 +434,9 @@ object MySimple : SimpleCommand(MyPluginMain, "main") { *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"); // ... }