CraftTweaker

CraftTweaker

151M Downloads

CraftTweaker refuses to load without JEI installed

jaredlll08 opened this issue ยท 2 comments

commented

when loading crafttweaker without JEI this happens:
https://paste.ee/p/hQBkX

the only method I can think of that would fix this is by removing these lines of code:
https://github.com/jaredlll08/CraftTweaker/blob/master/MineTweaker3-MC1102-Mod-JEI/src/main/java/minetweaker/mods/jei/JEI.java#L57-L65

or maybe checking to see if JEI is loaded, then doing that, but that may require reflection.

@tommyTT since you were the one to add the lines, got any input?

commented

In my opinion, the whole JEI module shouldn't be loaded if JEI is not installed. The same goes for any module that depends on an external mod. Otherwise a crash cannot be avoided.

commented

yea, it shouldn't be loaded, I got no idea why it is getting loaded :/