Actually Additions

Actually Additions

66M Downloads

Tried to read NBT tag that was too big

sfxworks opened this issue ยท 6 comments

commented

A player of ours keeps having issues when they put ME drives into a travler's sack. They get the following error.

[16:47:16] [Netty Client IO #1/ERROR] [FML]: NetworkDispatcher exception
io.netty.handler.codec.DecoderException: java.lang.RuntimeException: Tried to read NBT tag that was too big; tried to allocate: 2097227bytes where max allowed: 2097152

Is there something you can do on your end to resolve this or should I report this to the author of Applied Energistics?

commented

Contrary to what everyone is saying, this is actually an issue with Actually Additions. The sack's specific item contents should not be synced to the client via NBT, but rather just when the container gets opened (which happens automatically).
This would avoid large tags exceeding the packet limit.
Check the Storage Crate code for reference, as its ItemBlock does this exact thing.

commented

Don't do that. This is neither mod's issue. You should blacklist that item in the config.

commented

Sorry. blacklist your own item that you made?

commented

No. He means to blacklist the item to be prevented to be put into the Sack. Go to configs and blacklist the ME Drive in the Sack Blacklist.

commented

Ah. That I can do. However I would like it that if in the future you could handle this exception as other mods do similar references too.

commented

Closed via ac2bc01