mirror of
https://hub.spigotmc.org/stash/scm/spigot/buildtools.git
synced 2025-08-05 16:59:05 +00:00
BUILDTOOLS-507: Check --compile NONE flag if toolsVersion < 101 before a craftbukkit jar copy
This commit is contained in:
parent
0e60cdb52f
commit
623ceddf02
1 changed files with 1 additions and 1 deletions
|
@ -616,7 +616,7 @@ public class Builder
|
|||
}
|
||||
|
||||
System.out.println( "Success! Everything completed successfully. Copying final .jar files now." );
|
||||
if ( versionInfo.getToolsVersion() < 101 || ( versionInfo.getToolsVersion() > 104 && compile.contains( Compile.CRAFTBUKKIT ) ) )
|
||||
if ( ( versionInfo.getToolsVersion() < 101 && !compile.contains( Compile.NONE ) ) || ( versionInfo.getToolsVersion() > 104 && compile.contains( Compile.CRAFTBUKKIT ) ) )
|
||||
{
|
||||
copyJar( "CraftBukkit/target", "craftbukkit", new File( outputDir.value( options ), "craftbukkit-" + versionInfo.getMinecraftVersion() + ".jar" ) );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue