IndexOutOfBoundsException on CropHarvest#onCropHarvest()
Elenterius opened this issue ยท 1 comments
When the list of block drops has a size of 1 this error is thrown:
java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
This is caused by removing the stack on line 72 causing the list to be empty before the stack can be retrieved on line 76.
Luckly this exception fails silently and only crops that have their loot modified are likely to not be harvestable with right click.
issue #71 is the same bug