Elytrium / Elytrium/LimboFilter

[BUG] Client can not decode compressed packet after used /sendfilter multiple times

Open
#59 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
172
Forks
52
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
After used /sendfilter multiple (sometimes single one is enough) times, the client disconnects with a `DecoderException`.

**To Reproduce**
Steps to reproduce the behavior:
1. Install the plugin on latest velocity.
2. Execute `/sendfilter (my username)`.
3. If the filter passes, do step 2 again.
4. The client immediately disconnects after executing `/sendfilter (my username)`, with a line:
`Internal Exception: io.netty.handler.codec.DecoderException: java.util.zip.DataFormatException: inflate data is bad`.

**Expected behavior**
Client keeps connected no matter how many times it is sent to filter.

**Screenshots**
![Screenshot_20230503_003557](https://user-images.githubusercontent.com/60107333/235729082-8a52bcb7-68c5-477e-9f7b-b3c84b215c19.png)

**Server Info (please complete the following information):**
- All Limbo plugins versions:
https://github.com/Elytrium/LimboFilter/releases/tag/1.1.10
https://github.com/Elytrium/LimboAPI/releases/tag/1.1.12
https://api.papermc.io/v2/projects/velocity/versions/3.2.0-SNAPSHOT/builds/252/downloads/velocity-3.2.0-SNAPSHOT-252.jar

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.