Improved API for dependency injection

This commit is contained in:
lieght
2025-10-14 23:44:45 +02:00
parent d0676d9363
commit 444a81abc3
7 changed files with 17 additions and 14 deletions

View File

@@ -112,7 +112,7 @@ public final class ConnectedLayer extends Layer {
new EventFlow()
.addPostEvent(
NetworkEvents.StartClient.class,
TournamentNetworkingClient.class,
new TournamentNetworkingClient(),
information.serverIP(),
Integer.parseInt(information.serverPort()))
.onResponse(