2No2Name / hopperOptimizations

A mod that optimizes hoppers and their interactions with entities and inventories. It drastically reduces hopper lag without changing any behavior.
MIT License
64 stars 9 forks source link

HopperOptimizations-1.15.2-0.1.14 cause 'Error executing task on Server' #6

Closed ArchmageTony closed 4 years ago

ArchmageTony commented 4 years ago

I can't speak English very well,so I use google translate.
I update this mod from 0.1.13 to 0.1.14 on my server,then my server will cause 'Error executing task on Server' by 'ArrayIndexOutOfBoundsException' This is my log. image This is the complete log. 2020-02-14-1.log

Heitzenberg commented 4 years ago

+1, I also experienced this.

2No2Name commented 4 years ago

Thanks for the report, I will look into it now.

2No2Name commented 4 years ago

It looks like the steps to reproduce are to open a double chest that a hopper already transferred an item into since the last chunk reload and swap two items inside the player inventory. The mistake seems to be obvious and will be fixed in the next release. Did the problem occur in any other place?

Edit: also found in other player to inventory interactions, for now you can enable the playerInventoryDeoptimization rule work around this

Heitzenberg commented 4 years ago

Thanks for the bugfix update!

ArchmageTony commented 4 years ago

Thank you! It works well