Skip to content

Commit

Permalink
fix: wrong description of Velocity ProxyInitialization (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaseax authored Jul 17, 2024
1 parent c1bd11d commit 8771750
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/pages/server/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
```
Expand Down

0 comments on commit 8771750

Please sign in to comment.