diff --git a/docs/pages/server/index.md b/docs/pages/server/index.md index 70d7be5..760cd2e 100644 --- a/docs/pages/server/index.md +++ b/docs/pages/server/index.md @@ -162,8 +162,8 @@ Server API run as a separate plugin. 2. Configure shadow in your project's `build.gradle` or `pom.xml` to shade the `server-velocity` dependency into your plugin. 3. Initialize the LabyMod 4 Server API in your plugin's `ProxyInitializeEvent` listener: ```java - @Override - public void onEnable() { + @Subscribe + public void onProxyInitialization(ProxyInitializeEvent event) { LabyModProtocolService.initialize(this, this.server, this.logger); } ```