OpenMods / OpenPeripheral

https://openmods.info
MIT License
67 stars 25 forks source link

IC2 missing - stacktrace output to log #237

Closed RAnders00 closed 9 years ago

RAnders00 commented 9 years ago

http://pastie.org/private/tywujecyoi0c3zxxxonryw

This is output on game load when IC2 is not installed. It would be nicer if you could just check whether IC2 is loaded (by utilizing a FML call) and output a nice INFO call that the IC2 plugin will be disabled.

boq commented 9 years ago

We already have such code - see here and here (BTW, as you can probably see, it's OpenPeripheral-Integration problem, not OpenPeripheral-Core).

But this problem is caused by other mods (confirmed at least Railcraft, see CovertJaguar/Railcraft#579) that not only contain API inside (bad) but also partial one (terrible) - this causes API to be registered by FML (and visible to OpenPeripheral-Integration), but broken, since classes are missing.

tl;dr; We already did you proposed, but other mods break it.