Furgl / Infinitory

A Minecraft mod that gives players infinite inventories!
https://www.curseforge.com/minecraft/mc-mods/infinitory
MIT License
8 stars 5 forks source link

[Bug]Game crash with ArrayIndexOutOfBoundsException when inserting items into double chest #9

Closed tksonix closed 3 years ago

tksonix commented 3 years ago

Hi, I have been extensively using this mod but I've found a crashing problem.

When there are too many items stored (in my case above 180 item stacks) and some of the item counts goes over 5k, if the user try to move items to a double chest, the game will crash with java.lang.ArrayIndexOutOfBoundsException: Index 61 out of bounds for length 54.

I have tried an clean install (i.e. no other mod except fabric API and infinitory), the crash still occurs.

I've done some troubleshooting, here are the results:

While the idea of the mod is to get rid of any storage system but I do need chest for redstone automation.

Furgl commented 3 years ago

Could you please attach your crash log? And is this with v1.1.2?

tksonix commented 3 years ago

Oh I was having v1.1.1. I didn't noticed there was a v1.1.2 on curseforge. Github and modrinth haven't been updated yet.

And the good news is that the issue I'm having is fixed in the v1.1.2.