Crash when other mod tries to interact with HarvestDropsEvent from ore
Thutmose opened this issue ยท 1 comments
the TileEntityBedrockOre passes an immutable list to HarvestDropsEvent, so if another mod tries to add to it, it crashes due to UnsupportedOperationException.
Here is crash report:
https://gist.github.com/Thutmose/2c2bf44f45a8764867ab5fbc64f52c10
Here is the relevant method in nuclearcraft:
It tries to add more drops by calling event.getDrops().add(stack), but since the event has an immutable list, this crashes.