Code creation for GUI failed

Published by uuk on Mon, 04/02/2018 - 18:03
Status
Works as designed
Type
Product/platform
MCreator/Windows
Priority
Normal
Issue description

I add an GUI in Mccreator 1.7.8 and i try to build, but I get an Error:

 

C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_christaliezerGUI.java:278: error: ';' expected
Try To Convert.setInventorySlotContents(2, new ItemStack(mcreator_siliciumChristal.block, 1));
      ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_christaliezerGUI.java:282: error: ';' expected
Try To Convert.decrStackSize(1, 1);
      ^
2 errors

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.

 

I have no changed the code

Issue comments

You have created the inventory called Try To Convert. The name must not contain spaces. We will improve the validation of such names in 1.7.9.



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.