Skip to content

Commit 440eb4f

Browse files
committed
cant believe noone noticed this.
1 parent 905e197 commit 440eb4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/minecraftforge/gradle/user/UserBasePlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public Object call()
120120

121121
if (graph.hasTask(path + "setupDecompWorkspace"))
122122
{
123-
if (System.getProperty("java.version").startsWith("1.7"))
123+
if (!System.getProperty("java.version").startsWith("1.7"))
124124
{
125125
throw new RuntimeException("The setupDecompWorkspace will only work with Java 7! This is fixed in ForgeGradle 1.2");
126126
}

0 commit comments

Comments
 (0)