Started by 
Orrinpants
 on 
    Topic category: Troubleshooting, bugs, and solutions
I made this procedure that does not compile correctly. The procedure that does the opposite does not.
A procedure that makes a variable true not compiling correctly. The false one does compile correctly.
Probably why this happened in the console when I downloaded it:
Executing Gradle task: build 
Build info: MCreator 2021.1.12313 EAP (12313), forge-1.16.5, 64-bit, 16315 MB, Windows 10, JVM 1.8.0_275, JAVA_HOME: C:\Users\orrin\Downloads\MCreator EAP 2021.1 b12313 Windows 64bit\MCreatorEAP20211b12313\jdk 
> Task :compileJava FAILED 
C:\Users\orrin\MCreatorWorkspaces\sad_nether\src\main\java\net\mcreator\sadnether\procedures\RainDispenserRedstoneOnProcedure.java:23: error: package SadNetherModVariables does not exist 
      SadNetherModVariables.MapVariables.get(world).redstoneon = (boolean) (true); 
                           ^ 
C:\Users\orrin\MCreatorWorkspaces\sad_nether\src\main\java\net\mcreator\sadnether\procedures\RainDispenserRedstoneOnProcedure.java:24: error: package SadNetherModVariables does not exist 
      SadNetherModVariables.MapVariables.get(world).syncData(world); 
                           ^ 
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. Run with --scan to get full insights. 
* Get more help at https://help.gradle.org 
BUILD FAILED in 2s 
1 actionable task: 1 executed 
BUILD FAILED 
Task completed in 8 secondsHere is one of the lines that could possibly be why:
Build info: MCreator 2021.1.12313 EAP (12313), forge-1.16.5, 64-bit, 16315 MB, Windows 10, JVM 1.8.0_275, JAVA_HOME: C:\Users\orrin\Downloads\MCreator EAP 2021.1 b12313
Wait, what task completed? Failing the task?
It seems you are referencing global variable you removed
I didn't remove it.