KnightMiner / Inspirations

Mod adding various smaller features to Minecraft
MIT License
44 stars 18 forks source link

BlockColors crash if another mod has an error #152

Closed WenXin20 closed 3 years ago

WenXin20 commented 4 years ago

Describe the bug:

Versions:

Attachments

Crash Report

KnightMiner commented 4 years ago

Yeah, this is a Forge bug, see MinecraftForge/MinecraftForge#5862. There is not a ton I can do about it as if its not block colors that crashes, its going to be something else later.

I suppose I can add null checks like I had in 1.12, but that will just bounce the issue to the next mod registering block colors, or perhaps the Forge event following block colors.

WenXin20 commented 4 years ago

Adding null checks would be nice, it took me pretty much all day to figure out which mod was actually crashing. I had to remove all the mods that were giving me blockColor crashes.

KnightMiner commented 4 years ago

Whenever you see a block colors crash, your best bet right now is the full game logs. Normally the actual exception is logged before block colors crashes.

WenXin20 commented 4 years ago

That's what I checked first, but unfortunately, it was a crash between 2 other mods, but the logs only pointed to one of those mods. It all figured out now though.

KnightMiner commented 4 years ago

Latest Forge issue is MinecraftForge/MinecraftForge#6374 for my reference

KnightMiner commented 3 years ago

Mostly caught, whats not caught Forge has dealt with, so closing