Increase the packet size limit to 10. Fixes #3430

This commit is contained in:
raoulvdberge
2022-12-20 14:27:12 +01:00
parent 606c26c940
commit 9825c77072
2 changed files with 6 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ public class NetworkHandler {
.serverAcceptedVersions(protocolVersion::equals)
.networkProtocolVersion(() -> protocolVersion)
.simpleChannel();
private final PacketSplitter splitter = new PacketSplitter(5, handler, channel);
private final PacketSplitter splitter = new PacketSplitter(10, handler, channel);
public void register() {
int id = 0;