▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Equipment Packet Fix
Equipment Packet Fix

Equipment Packet Fix

A simple 1.20.1 forge mod that fixes a weird itemstack encoding issue in ClientboundSetEquipmentPacket causing clients to be kicked.

131
0

Equipment Packet Fix

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. Also, you should only need to install this on the server, but it doesn't hurt to have it in the client pack as well.

Credits

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

Совместимость

Minecraft: Java Edition

1.20.x

Платформы

Поддерживаемые окружения

Сервер

Создатели

Детали

Лицензия:MIT
Опубликован:3 месяца назад
Обновлён:3 месяца назад
Главная