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); }