Print<str> procedure causes build failure

Published by JDLENL on Thu, 07/18/2019 - 16:54
Upvotes: 0
Issue description

As the title suggests, the print() procedure causes a gradle build failure no matter what input is given to the function.

Specifically, this error: 

D:\Pylo\MCreator190\automatica\build\sources\main\java\net\mcreator\automation\MCreatorGenerateSolar.java:119: error: cannot find symbol
		LOG.info("aye");
		^
  symbol:   variable LOG
  location: class MCreatorGenerateSolar
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s

 

Steps to reproduce:

  1. Create any procedure
  2. Add the print() function to the procedure
  3. Add any form of text to the print function's arguments
  4. Attempt to save the procedure, or initiate a build

 

Issue comments

Thank you for this bug report. I can confirm this bug. It will be fixed in the next update.

Same with me. I tried to print the players direction to the console.



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.