Skip to content

Commit

Permalink
Fix wrong event.
Browse files Browse the repository at this point in the history
  • Loading branch information
OroArmor committed Apr 3, 2024
1 parent 4538c5c commit 4d25a32
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ public final class ServerConfigurationConnectionEvents {
* }</pre>
*/
public static final Event<Configure> CONFIGURE = QuiltCompatEvent.fromQuilt(
org.quiltmc.qsl.networking.api.ServerConfigurationConnectionEvents.READY,
configure -> (handler, sender, server) -> configure.onSendConfiguration(handler, server),
invokerGetter -> (handler, server) -> invokerGetter.get().onConfigurationReady(handler, org.quiltmc.qsl.networking.impl.server.ServerNetworkingImpl.getAddon(handler), server));
org.quiltmc.qsl.networking.api.ServerConfigurationConnectionEvents.ADD_TASKS,
configure -> configure::onSendConfiguration,
invokerGetter -> invokerGetter.get()::onAddTasks);

/**
* An event for the disconnection of the server configuration network handler.
Expand Down

0 comments on commit 4d25a32

Please sign in to comment.