From be584eb2272cb9f7885b631bdaab5a4f3c11a2b2 Mon Sep 17 00:00:00 2001 From: Terry <68700354+teraprath@users.noreply.github.com> Date: Fri, 12 May 2023 00:41:47 +0200 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 60b542d..8c2d3d1 100644 --- a/README.md +++ b/README.md @@ -67,10 +67,10 @@ public class ExampleModule extends Module { public void onEnable() { // Register events - registerListener(new ExampleListener()); + registerListener(listener); // Register sub-commands - registerSubCommand("example", new ExampleCommand()); + registerSubCommand("example", subCommand); }