CleverNucleus/data-attributes

Data Attributes crashes for no reason

Closed this issue · 7 comments

Crashy link with the details of the crash: https://crashy.net/Oiw5h6RRMWLXWHe2vdeZ
I originally had player ex installed as well but I removed it for testing purposes
Also if the only 2 mods I got installed are Data Attributes and fabric API it works

Hi there,
Thank you for the report. Looking at the log I can see that this is a duplicate of #15; however, I can also see that Create for Fabric is not on the list of mods that were run. This is useful because it implies that create is not actually the mod conflicting with Data Attributes.

Therefore, even though this is technically a duplicate, I'm going to leave this open.

Okay, I was messing with the mods and just found out that the fabric version of the twilight forest (ver: 1.18.2-4.1.232) is making Minecraft crash. You should check if #15 uses this mod if not then I don't know maybe certain types of mods make the game crash.
Edit: tried the newer version of the twilight forest fabric (1.18.2-4.1.238) still the moment I add the mod it crashes and the moment I remove the mod it works

Interesting, I think you're probably correct: so far it seems mods that play about with attributes are incompatible. Obviously not ideal, considering the context of Data Attributes - I'll continue working on it.

This is a duplicate of #15, both Create and TF use Porting Lib, which is the actual cause.

Hi there @TropheusJ,
I agree, and have just seen the null check commit to prevent crashing. I appreciate the quick catch on that.

I will continue to work on this issue however, as the attribute instance should not be null in the first place - Data Attributes is definitely messing something up, I cannot have all mods that add attributes implement a null check just to cover for my bug, after all 🤣.

See my comments on the Create issue for info, I tracked it down.

Fixed with release v1.1.8.