Mineuniverse
Mods
Equipment Packet Fix

Equipment Packet Fix

MOD
A simple 1.20.1 forge mod that fixes a weird itemstack encoding issue in ClientboundSetEquipmentPacket causing clients to be kicked.
by comfortableandy
Download Claim this project
1,712 downloads
0 likes
0 followers
Updated Oct 14, 2026
0 hypes
Follow0
Bug Fixes Server Utility
Advertisement Remove ads with Premium →

Equipment Packet Fix (1.20.1 Forge)

Mixes into CompoundTag to do two things:

  1. Avoid a ConcurrentModificationException in CompoundTag#write by converting the tag's key set into an array before iterating
  2. Avoid a EncoderException (caused by NullFointerException) in CompoundTag#writeNamedTag by adding a null safeguard

Config

detectExceptions - (default false) Try and log when exceptions might happen, logging the CompoundTag in question

Modpacks

Free to use in modpacks, but please do not redistribute.

Credits

Logo textures from Minecraft (armor) and Minecraft Dungeons (hammer). Disconnect screenshot from reddit

[1.20.1] Equipment Packet Fix - 1.0.0
MC 1.20.1, Forge, Server
Release 2025-11-22 Get

More from comfortableandy

Advertisement Remove ads with Premium →

You Might Also Like