Apotheosis

Apotheosis

79M Downloads

Crash with Nemesis System

WenXin20 opened this issue ยท 9 comments

commented

Forge v14.23.5.2810-1.12.2
Nemesis System v2
Living Ench v3.1.6
Apotheosis v1.2.0

I got this crash after opening the bonus chest that had a Living Enchantment book in it. The crash seems to be related to the Nemesis mod.
Crash Report

commented

Interesting, would you be able to check your config/apotheosis/enchantments.cfg file to see if the Living enchantment has an entry there? If it doesnt, it's being registered late, and should be considered a bug in that mod.

I could fix it on my end by initializing the entries later, but i'd like to figure out what's happening first.

commented

Yes, its listed there.

commented

Ah, then I suppose it's a different enchantment. Tracking such a thing would be rather difficult, so I guess i'll just try to load the config later.

commented

Thanks for looking into it. Does it have anything to do with the Nemesis System mod?

commented

I also have Quark Oddities, which changes the enchanting system. Could that be it? Is was also wondering if it has compatibility with this mod.

commented

No, it's strictly something registering an enchantment after I load my configs, which are used to override min/max levels of enchantments. All enchantments should already be registered at this time, so it's a strange issue.

commented

Looks like "info" is null on this line:

for (int i = info.getMaxLevel(); i > info.getMinLevel() - 1; --i) {

I didn't look into it any further. Not sure if a simple null check + cancel will work here or if that should never be null.

Was just taking a quick look at this since I was already here due to the other issue on the tracker, and you only had 2 issues.

commented

It should never be null. I'm going to lazy init enchantments that do return null, but it will log an error message blaming the mod not following proper registration practices.

commented

๐Ÿ‘