Packet Fixer

Packet Fixer

35M Downloads

[Neoforge 1.21.1] Players are still able to be kicked for "Tried to read NBT tag that was too big"

GarnetAnimations opened this issue ยท 5 comments

commented

As per the title I picked up a armory cabinet from Functional Storage & it kicked me for
net.minecraft.nbt.NbtAccounterException: Tried to read NBT tag that was too big; tried to allocate: 2097149 + 6 bytes where max allowed: 2097152

I am using version 2.1.0 of the mod, here is also the disconnect log; https://mclo.gs/Qzf54UD

commented

I am Chinese,so my explanation might not be very clear.
I also met this problem when I tried picking up a Minecart with Contraption and I can't open my save file again.
Here is the log:https://mclo.gs/20U6Ctq

commented

It is not a problem of Packet Fixer but I will fix it this week

commented

did you manage to get around to this yet? Or is it a neoforged issue that should be reported over there?

commented

did you manage to get around to this yet? Or is it a neoforged issue that should be reported over there?

No, its not a NeoForge issue. It should be a problem with some mods sending big nbts. Packet Fixer increases this limit but some of them dind't use the FriendlyByteBuf#readNbt or writeNbt (The minecraft system to send nbts) causing this problem. I need to look, but I don't think is caused by NeoForge

commented

Should be fixed in the version 3.0.0. I will upload it today or tomorrow.