Expand Large Packet Size to 30MB

This commit is contained in:
Kam committed 2025-02-02 23:23:09 -05:00
1 parent fe7c24186d
commit 4ae8978399
1 file changed
+1 -1
@@ -102,7 +102,7 @@ public class ByteBufUtils extends cpw.mods.fml.common.network.ByteBufUtils {
int length = buffer.readInt();
byte[] bytes = new byte[length];
buffer.readBytes(bytes);
return CompressedStreamTools.func_152457_a(bytes, new NBTSizeTracker(10485760L));
return CompressedStreamTools.func_152457_a(bytes, new NBTSizeTracker(31457280L));
}
public static void writeString(ByteBuf buffer, String s){