Skip to content

Commit

Permalink
Update network submodule
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Castle <[email protected]>
  • Loading branch information
Kas-tle committed May 23, 2024
1 parent 903ca76 commit 829528c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/main/java/org/cloudburstmc/proxypass/ProxyPass.java
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,9 @@ public void newClient(InetSocketAddress socketAddress, Consumer<ProxyClientSessi
.channelFactory(RakChannelFactory.client(NioDatagramChannel.class))
.option(RakChannelOption.RAK_PROTOCOL_VERSION, ProxyPass.CODEC.getRaknetProtocolVersion())
.option(RakChannelOption.RAK_COMPATIBILITY_MODE, true)
.option(RakChannelOption.RAK_IP_DONT_FRAGMENT, true)
.option(RakChannelOption.RAK_MTU_SIZES, new Integer[]{1492, 1200, 576})
.option(RakChannelOption.RAK_CLIENT_INTERNAL_ADDRESSES, 20)
.handler(new BedrockChannelInitializer<ProxyClientSession>() {

@Override
Expand Down

0 comments on commit 829528c

Please sign in to comment.