-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NPE when running genIntellijRuns on CodeChickenLib #56
Comments
Even a lib is can be run inside of MC. And it shold be just fine to start minecraft with it added as mod. I have no idea where that comes from as I never use the command line, but rely on the IntelliJ plugin. This happens only with CCC or can you reproduce it elsewhere? Not sure this is easily possible. We could print the hash at every run of the build script such that it will show up in the logs. |
So CCL is strange in that it runs from the 1.7.10 folder on a normal install. Don’t know if that affects it. but what is crashing here isn’t runClient but gensIntellijruns - the gradle code what sets up running it in the IDE. Nothing else I’ve seen breaks here |
So you cannot get it to run? I have never had any issues with importing the project into IntelliJ directly. |
Oh I can load it into intelij - and I don’t use the run from inside it usually. Just surprised that my normal commands caused an NPE. I suspect it is looking for @mod or something to know where to “start” and being coreLib it doesn’t have that |
Could you verify that? You can use our DeveloperCapes for it. It is a lib-only project as well. Not having a PC for a few days. |
Baubles worked, something it is looking for in CCL it's not finding. Aha! CCL is not a normal mod nor is it a coreMod in the IFMLLoadingPlugin method, it's basically an extension to CodeChickenCore. |
Now this was run on codechickenlib - which makes sense; a library might not be able to generate runs, but we should detect it's a library and just politely warn out.
Also we should print the "build script" ID when it explodes, mine was
8fa7883b6196c1765266f4e6ddf3118d5043aafb
The text was updated successfully, but these errors were encountered: