mirror of
https://hub.spigotmc.org/stash/scm/spigot/buildtools.git
synced 2025-08-05 16:59:05 +00:00
Fix NPE when skipping compile stage.
This commit is contained in:
parent
5068da3ba1
commit
eda2160553
1 changed files with 7 additions and 3 deletions
|
@ -405,9 +405,13 @@ public class Builder
|
||||||
{
|
{
|
||||||
System.out.println( " " );
|
System.out.println( " " );
|
||||||
}
|
}
|
||||||
System.out.println( "Success! Everything compiled successfully. Copying final .jar files now." );
|
|
||||||
copyJar( "CraftBukkit/target", "craftbukkit", "craftbukkit-" + versionInfo.getMinecraftVersion() + ".jar" );
|
if ( !skipCompile )
|
||||||
copyJar( "Spigot/Spigot-Server/target", "spigot", "spigot-" + versionInfo.getMinecraftVersion() + ".jar" );
|
{
|
||||||
|
System.out.println( "Success! Everything compiled successfully. Copying final .jar files now." );
|
||||||
|
copyJar( "CraftBukkit/target", "craftbukkit", "craftbukkit-" + versionInfo.getMinecraftVersion() + ".jar" );
|
||||||
|
copyJar( "Spigot/Spigot-Server/target", "spigot", "spigot-" + versionInfo.getMinecraftVersion() + ".jar" );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static final String get(String url) throws IOException
|
public static final String get(String url) throws IOException
|
||||||
|
|
Loading…
Add table
Reference in a new issue