Scorching Heat enchantment-related crash
yagomont opened this issue ยท 3 comments
Tested on version 1.10.19, on both SSP and SMP (sponge)
This problem happens anywhere, and is not related to server software such as sponge.
The game will crash at random after trying to break a block with the AS Scorching Heat enchantment. I have no idea how to consistently reproduce this issue, but it does become more common (albeit, is not exclusive to) when using AoE digging mechanics such as the evorsio mantle. It's unclear if this is triggered by the fortune enchantment being in the tool as well. But in the end the enchantment seems to be doing bad math on the items that it's going to drop.
Probably related to Quark's root block (as seen in the stacktrace) or a problematic type of list being passed into the method that doesn't implement AbstractList#add properly... https://i.imgur.com/SEYBr27.png
Hard to say; and not really sure if this is mainly related to AS doing something wrong.
Responsible code: https://github.com/HellFirePvP/AstralSorcery/blob/master/src/main/java/hellfirepvp/astralsorcery/common/event/listener/EventHandlerServer.java#L363