Closed shBLOCK closed 2 years ago
Crash when block breaker tries to match a block from a mod that returns its drops as an Immutable list. The crash happens because it's trying to remove elements from the Immutable list. See: https://github.com/CyclopsMC/IntegratedTunnels/blob/master-1.18/src/main/java/org/cyclops/integratedtunnels/core/ItemStorageBlockWrapper.java#L158 Doing a check and converting it to a Mutable list if needed will fix it I think.
Haven't figured out what block it was breaking when the crash happens, but this should be easy to fix, and probably won't require testing after the fix.
https://pastebin.com/3R6sZzf7
Thanks for reporting!
Issue type:
Short description:
Crash when block breaker tries to match a block from a mod that returns its drops as an Immutable list. The crash happens because it's trying to remove elements from the Immutable list. See: https://github.com/CyclopsMC/IntegratedTunnels/blob/master-1.18/src/main/java/org/cyclops/integratedtunnels/core/ItemStorageBlockWrapper.java#L158 Doing a check and converting it to a Mutable list if needed will fix it I think.
Steps to reproduce the problem:
Haven't figured out what block it was breaking when the crash happens, but this should be easy to fix, and probably won't require testing after the fix.
Versions:
Log file:
https://pastebin.com/3R6sZzf7