Sample guide book does not compile using Forge 1.10.2
Lothrazar opened this issue ยท 3 comments
Log
My properties & build.gradle are
deobfCompile "info.amerifrance.guideapi:Guide-API:${mc_version}-${guideapi_version}"
guideapi_version=2.0.2-45
i got the source code from this page http://guide-api.readthedocs.io/en/latest/createabook/basic/
actual code
Lothrazar/Cyclic@af91678
#45 You are loading before GuideAPI can create it's registry.
I see. I had put the code in FMLPreInitializationEvent , which is what the documentation says to do here http://guide-api.readthedocs.io/en/latest/createabook/basic/
Should i move it instead to FMLInitializationEvent or FMLPostInitializationEvent ?
EDIT: I know, i probably need a dependency order injection something like
dependencies = "after:JEI;after:Baubles", is that right?