Skip to content

Commit

Permalink
Don't fragment on client and server
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Castle <[email protected]>
  • Loading branch information
Kas-tle committed Jun 17, 2024
1 parent d389784 commit 5539550
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/cloudburstmc/proxypass/ProxyPass.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import org.cloudburstmc.protocol.bedrock.BedrockPong;
import org.cloudburstmc.protocol.bedrock.codec.BedrockCodec;
import org.cloudburstmc.protocol.bedrock.codec.BedrockCodecHelper;
import org.cloudburstmc.protocol.bedrock.codec.v671.Bedrock_v671;
import org.cloudburstmc.protocol.bedrock.codec.v685.Bedrock_v685;
import org.cloudburstmc.protocol.bedrock.data.EncodingSettings;
import org.cloudburstmc.protocol.bedrock.data.definitions.BlockDefinition;
Expand Down Expand Up @@ -202,6 +201,7 @@ public void boot() throws IOException {
.group(this.eventLoopGroup)
.channelFactory(RakChannelFactory.server(NioDatagramChannel.class))
.option(RakChannelOption.RAK_ADVERTISEMENT, ADVERTISEMENT.toByteBuf())
.option(RakChannelOption.RAK_IP_DONT_FRAGMENT, true)
.childHandler(new BedrockChannelInitializer<ProxyServerSession>() {

@Override
Expand Down

0 comments on commit 5539550

Please sign in to comment.