From 9825c770723d6fe2dba4de83d8e13ad26ef020d6 Mon Sep 17 00:00:00 2001 From: raoulvdberge Date: Tue, 20 Dec 2022 14:27:12 +0100 Subject: [PATCH] Increase the packet size limit to 10. Fixes #3430 --- CHANGELOG.md | 8 +++++--- .../refinedstorage/network/NetworkHandler.java | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4bffc59c6..0125f80fb 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,10 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - Fixed external storage cache being de-synced from the network cache. - Fixed external storage using an out of date block entity for getting handler. +### Changed + +- Increased packet size limit. + ## [v1.11.2] - 2022-12-17 ### Added @@ -208,7 +212,7 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - Fixed wrong alignment for the JEI request autocrafting tooltip. - Fixed mobs getting stuck in Refined Storage cables. - Fixed dismantling storage blocks ignoring stack size. -- Fixed Ice and Fire banners breaking with Refined Storage. necauqua) +- Fixed Ice and Fire banners breaking with Refined Storage. - Fixed empty keybinding causing GL errors. - Fixed some parts of the Japanese translation. - Fixed rendering issue on blocks when using OptiFine. @@ -539,8 +543,6 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [v1.7.1-alpha] - 2019-11-19 -### Added - ### Fixed - Fixed Pattern Grid causing world hanging on load. diff --git a/src/main/java/com/refinedmods/refinedstorage/network/NetworkHandler.java b/src/main/java/com/refinedmods/refinedstorage/network/NetworkHandler.java index 3bd36979c..7a7823fbd 100644 --- a/src/main/java/com/refinedmods/refinedstorage/network/NetworkHandler.java +++ b/src/main/java/com/refinedmods/refinedstorage/network/NetworkHandler.java @@ -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;