Modern Industrialization

Modern Industrialization

12M Downloads

Issues with refined storage

Closed this issue ยท 1 comments

commented

Hello,
I'm not sure if this is the right place to put this but there seems to be an exception being raised in the refined storage api that's triggered by the a return of the PipeNetworks class that's causing a crash. Here is the crash report: https://gist.github.com/TacticalTimbz/0eefb0d4a0670e1f1f04e9e5051f2870

What I was able to tell, there's some issue with inserting fluid into a refined storage system where it expects to have fluid but does not, which is why refined storage is throwing the error here: https://github.com/refinedmods/refinedstorage2/blob/d42d76f8649ef3d906e56d60dded2e36ae0e383e/refinedstorage-core-api/src/main/java/com/refinedmods/refinedstorage/api/core/CoreValidations.java#L53

I'm like 70% sure this is the function that's returning 0 to the refined storage api, which is causing the exception to be thrown https://github.com/AztechMC/Modern-Industrialization/blob/1.21.x/src/main/java/aztech/modern_industrialization/pipes/fluid/FluidNetwork.java#L54. I tried cloning the project to see if hard coding those 0s to 1s would change anything but it looks like there's some dependencies that I don't have access to.

Thank you.

commented

IFluidHandler explicitly allows empty stacks and RS2 should account for that. Can you open an issue on the RS2 repo?