Update nukkit link
This commit is contained in:
parent
b181e8e400
commit
6db1910710
@ -327,8 +327,8 @@ public class ConverterFrame extends JFrame {
|
|||||||
debug("Loading nukkit.jar");
|
debug("Loading nukkit.jar");
|
||||||
File nukkit = new File("nukkit.jar");
|
File nukkit = new File("nukkit.jar");
|
||||||
if (!nukkit.exists()) {
|
if (!nukkit.exists()) {
|
||||||
debug("Downloading: http://ci.mengcraft.com:8080/job/nukkit/614/artifact/target/nukkit-1.0-SNAPSHOT.jar");
|
debug("Downloading: http://ci.mengcraft.com:8080/job/nukkit/lastSuccessfulBuild/artifact/target/nukkit-1.0-SNAPSHOT.jar");
|
||||||
URL url = new URL("http://ci.mengcraft.com:8080/job/nukkit/614/artifact/target/nukkit-1.0-SNAPSHOT.jar");
|
URL url = new URL("http://ci.mengcraft.com:8080/job/nukkit/lastSuccessfulBuild/artifact/target/nukkit-1.0-SNAPSHOT.jar");
|
||||||
ReadableByteChannel rbc = Channels.newChannel(url.openStream());
|
ReadableByteChannel rbc = Channels.newChannel(url.openStream());
|
||||||
FileOutputStream fos = new FileOutputStream(nukkit);
|
FileOutputStream fos = new FileOutputStream(nukkit);
|
||||||
fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE);
|
fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE);
|
||||||
|
Loading…
Reference in New Issue
Block a user