Displaying large NBT causes disconnect
natedogith1 opened this issue ยท 3 comments
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:
- Create large NBT value (I accomplished this by getting the NBT of a player)
- 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:
I don't have access to the server for a couple days. I'll recreate the situation and gather the logs on Monday.
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
GitHub Gist: instantly share code, notes, and snippets.