How Do i fix this plugin command?

Started by JMStreem on

Topic category: Plugins and third-party tools

Last seen on 16:42, 7. Apr 2023
Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How Do i fix this plugin command?

How Do I make a /gmc command procedure. This is the error 

Executing Gradle task: build
Build info: MCreator 2022.3.48217, spigot-1.19, 64-bit, 2775 MB, Linux, JVM 17.0.3, JAVA_HOME: /home/jakemccoy09/MCreator20223/jdk, started on: 2023-01-13-13:56:24

> Task :compileJava FAILED
/home/jakemccoy09/MCreatorWorkspaces/mcquest_offcial_plugin/src/main/java/net/mcreator/mcquestoffcialplugin/procedures/GamemodeCProcedure.java:16: error: ';' expected if(((Player) entity) instanceof org.bukkit.entity.Player) ((Player) entity).setGameMode(GameMode.CREATIVE)
^
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 834ms
1 actionable task: 1 executed

BUILD FAILED
Task completed in 2 seconds 

 

If you see this forum then pls help me create the procedure insert image if you figure it out.