Disconnect Packet Fix
by ascpixi
Disconnect Packet Fix works around the MC-271325 bug, which floods a server console with stacktraces when players are disconnected.
What it does
On Fabric and NeoForge servers, the bug produces repeated error messages reading "error sending packet clientbound/minecraft:disconnect". The mod patches the code path responsible with a single mixin that injects into one method, and it stays in place until Mojang resolves the bug in vanilla. Only the server side needs the mod, so players join without installing anything. Files are published for Fabric and NeoForge across 17 release versions, 1.21 – 26.3, under the MIT License, and the project is open source.
Key features
Silences disconnect errors
Stops the repeated exception stacktraces that the MC-271325 bug writes to the server console.
Single injection point
Uses one mixin that injects code into one method, so the change stays small and simple to follow.
Temporary workaround
Intended to be removed once Mojang fixes the underlying bug in vanilla.
Compatibility
Latest build for each game version and loader.
26.x5 of 5 versions with builds
1.21.x12 of 12 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Questions
Does Disconnect Packet Fix need to be installed on clients?
Which loaders does Disconnect Packet Fix support?
In the catalog
Disconnect Packet Fix is one of 8,016 Management mods on ModsFinder, and one of 5,930 Management mods for Fabric. 8,071 mods support Minecraft 26.3.
More from ascpixi
Similar mods
What the author says
This mod serves to fix that until Mojang fixes this bug. The mod itself is extremely minimal, only using a single mixin to inject code to one method.
Official listing
- Modrinth page
- modrinth.com/mod/disconnect-packet-fix
- Owner
- ascpixi
- Published
- 2024-07-03
- Updated on Modrinth
- 2026-09-18
- Facts verified
- 2026-10-15
