AM2PlayGround

AM2PlayGround

2.5k Downloads

Extremely fucking cursed error

Closed this issue ยท 7 comments

commented

crash-2025-02-23_19.29.05-client.txt

Seems to be related here.

commented
commented

Finally got myself into this

Caused by: java.lang.RuntimeException: Enum am2.api.spell.enums.SpellModifiers was not made extensible, add it to lwjgl3ify configs

Probably similar to #17?
TL;DR
find 'config/lwjgl3ify-early.json' file and add:

    "am2.api.spell.enums.SpellModifiers",
    "am2.api.spell.enums.ContingencyTypes"

to the list.

If this is the root of the problem, then I think that I will not be able to solve this problem correctly, since it is on the side of the GTNH team.
Of course, I can always just add my enums to their config on mod startup or something, like, programming and all that crap, but this is some kind of crutch.
Having a list that should contain all the enums that could be modified at runtime is itself a crutch in the first place, but I'm not aware of what's happening inside lwjgl3ify.

commented

Oh good lord. Requesting @FalsePattern to take over, as this deals with them.

commented

Disable extendPotion in endlessids.cfg, this is a pretty old ars magica 2 incompat in endlessids, im just busy with studies and i haven't had time to fix it.
(Realistically, turn off all of the endlessids extend... options and only enable those that are actually necessary in the pack, the defaults suck because they extend everything and break with a ton of mods)

commented

From what I know about how AM2 registers its potions, this is more of an issue with AM2 than anything else.
About 100% of AM2 incompat problems lies in AM2, except that one with Fly effect and DragonAPI. Dudes just on a same level of bad code decisions.

Not sure how fixing AM2 potions will help with that exact case, however.

commented

@FalsePattern Problem, I do need extended IDs for use in my pack. Some mods add so many potions that slots get sucked up fast, for instance.