CleverNucleus / data-attributes

Minecraft Fabric mod that overhauls the entity attributes system and exposes it with datapacks.
MIT License
12 stars 15 forks source link

"this.StackingBehavior" returning null? #6

Closed HockeyZman2000 closed 2 years ago

HockeyZman2000 commented 2 years ago

Not quite sure what is going on here. Maybe you could take a look for me? Mentions DataAttributes.

Crash Report: crash-2022-02-03_22.07.00-server.txt

Log: latest.log

HockeyZman2000 commented 2 years ago

Also version if needed is 3.1.3 - 1.18.1 (latest)

HockeyZman2000 commented 2 years ago

Tried updating Cardinal Components API to the latest as well, ended up with the same crash mentioned here: CleverNucleus/PlayerEx#48

CleverNucleus commented 2 years ago

Thanks for the crash report, I'll try to fix asap. Also thanks for the info on CCA.

CleverNucleus commented 2 years ago

Hi there, I've looked through your (extensive) mod list and found nothing that would cause this issue. The only way this specific crash can happen is if there is a malformed json in data/.../attributes/overrides/. I see that you were not using any datapacks when the crash occurred, therefore I can only say that either one of your jsons in PlayerEx or another mod jar has been a) corrupted or b) modified. I've verified that the releases provided on Curseforge do not have any malformed json - I can only advise that you redownload PlayerEx and DataAttributes from Curseforge, and check that non of your other mod files have modified attribute jsons.

I won't close the issue immediately in case you have other information, but I can confirm that there is no issue with the mod itself, just potentially malformed jsons from an unknown source. Thanks.