From e0dfc6556e8875561ededc9ca27294b11adde510 Mon Sep 17 00:00:00 2001 From: RaphiMC <50594595+RaphiMC@users.noreply.github.com> Date: Sun, 12 Nov 2023 18:00:30 +0100 Subject: [PATCH] Updated README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1c9878c..e276db2 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ After you have initialized the Via* platforms you can start implementing ViaLoad The most important part is the modification of your netty pipeline. This is needed for ViaVersion to translate the packets in both ways. Here is an example implementation: ```java -final UserConnection user = new UserConnectionImpl(channel, true); +final UserConnection user = new UserConnectionImpl(channel, true/*clientside or serverside*/); new ProtocolPipelineImpl(user); channel.pipeline().addBefore("packet_codec", VLPipeline.VIA_CODEC_NAME, new ViaCodec(user));