Execute command event not parsing quotes

Upvotes: 0
Issue description

the execute command event does not  parse quotes properly, this error only happens when you put quotes in part of your command. when ever i put in this or any command with quotes below gradle fails to compile

 

/tellraw @a {"text":"Test"}

 

Gradle Log
 

C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_testcmd.java:99: error: ')' expected
if(entity instanceof EntityPlayerMP){MinecraftServer minecraftserver = FMLCommonHandler.instance().getMinecraftServerInstance();if(minecraftserver!=null)minecraftserver.getCommandManager().executeCommand((EntityPlayerMP)entity, "/tellraw @a {"text":"Test"}");}
                                                                                                                                                                                                                                                   ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_testcmd.java:99: error: not a statement
if(entity instanceof EntityPlayerMP){MinecraftServer minecraftserver = FMLCommonHandler.instance().getMinecraftServerInstance();if(minecraftserver!=null)minecraftserver.getCommandManager().executeCommand((EntityPlayerMP)entity, "/tellraw @a {"text":"Test"}");}
                                                                                                                                                                                                                                                       ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_testcmd.java:99: error: ';' expected
if(entity instanceof EntityPlayerMP){MinecraftServer minecraftserver = FMLCommonHandler.instance().getMinecraftServerInstance();if(minecraftserver!=null)minecraftserver.getCommandManager().executeCommand((EntityPlayerMP)entity, "/tellraw @a {"text":"Test"}");}
                                                                                                                                                                                                                                                          ^
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_testcmd.java:99: error: ';' expected
if(entity instanceof EntityPlayerMP){MinecraftServer minecraftserver = FMLCommonHandler.instance().getMinecraftServerInstance();if(minecraftserver!=null)minecraftserver.getCommandManager().executeCommand((EntityPlayerMP)entity, "/tellraw @a {"text":"Test"}");}
                                                                                                                                                                                                                                                              ^
4 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.
 

Issue comments

This issue will be fixed in MCreator 1.7.9 with new procedure maker. Thank you for the bug report!