Integrated Dynamics

Integrated Dynamics

63M Downloads

Displaying large NBT causes disconnect

natedogith1 opened this issue ยท 3 comments

commented

Issue type:

  • ๐Ÿ› Bug

Short description:

Placing a variable with a large NBT compound disconnects client with a message about the NBT being too large.

Steps to reproduce the problem:

  1. Create large NBT value (I accomplished this by getting the NBT of a player)
  2. Place value in a display panel

Expected behaviour:

The client shouldn't be disconnected.


Versions:

  • This mod: 1.18.2-1.11.8
  • Minecraft: 1.18.2
  • Forge: 40.1.73
  • Modpack: Encrypted_ R 2.1.3

Log file:

commented

Could you share that message, together with the server logs?

commented

I don't have access to the server for a couple days. I'll recreate the situation and gather the logs on Monday.

commented

Server logs: https://gist.github.com/natedogith1/669c7285ef9cff588c564fb39ee7d759
I didn't see anything relevant in the client log.
Internal Exception: io.netty.handler.codec.DecoderException: java.lang.RuntimeException: Tried to read NBT tag that was too big: tried to allocate: 2097205bytes where max allowed: 2097152

Gist
GitHub Gist: instantly share code, notes, and snippets.