Closed 1a2s3d4f1 closed 4 years ago
Thanks for the quick info. I will look at this in more detail later but for now I temporarily removed v1.2.1 from curseforge.
Or does this crash also happen with 1.2.0?
caused by FluidPhysicsMod.scala L18-21 1.2.0 had the value set staticly so it was fine changing back to using a string instead of metadata would fix it
Thank you for the quick analysis! I hope I can reproduce and fix this so I don't have to turn this back to using a string constant.
I don't quite understand why it is crashing inside the equals method tho. Maybe changing out '==' for 'eq' would suffice?
while I'm not perticulary experianced in fabric/scala considering It runs fine inside an IDE but not after compiled it's probably got something todo with the call being unavailable outside dev env. so you would have to get the value at compile time and embed it as a string.
is my best quess
though looking how other mods do it, seems like they just use a string
Yeah maybe I should do that too. I tested this in prod and it worked so I suspect it has something to do with another mod that uses a server/client proxy. I have not tested this in a big modpack yet so that could be a problem.
@1a2s3d4f1 Could you try out if this fix works for you? https://github.com/LolHens/mc-fluid-physics/releases/download/1.2.2/fluidphysics-1.2.2.jar
Works when i try it
fluid physics 1.2.2 is working ,The crash is not happen.
The game was crash when I updated this mod to 1.2.1 NO config file(I was use 1.0.1 version) crash report: