From 6db19107105571bf9e1e4164364c01479b04b534 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Wed, 23 Aug 2017 15:37:40 +1000 Subject: [PATCH] Update nukkit link --- .../com/boydti/fawe/nukkit/core/converter/ConverterFrame.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nukkit/src/main/java/com/boydti/fawe/nukkit/core/converter/ConverterFrame.java b/nukkit/src/main/java/com/boydti/fawe/nukkit/core/converter/ConverterFrame.java index 2d056c8e..2b0ef149 100644 --- a/nukkit/src/main/java/com/boydti/fawe/nukkit/core/converter/ConverterFrame.java +++ b/nukkit/src/main/java/com/boydti/fawe/nukkit/core/converter/ConverterFrame.java @@ -327,8 +327,8 @@ public class ConverterFrame extends JFrame { debug("Loading nukkit.jar"); File nukkit = new File("nukkit.jar"); if (!nukkit.exists()) { - debug("Downloading: 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/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/lastSuccessfulBuild/artifact/target/nukkit-1.0-SNAPSHOT.jar"); ReadableByteChannel rbc = Channels.newChannel(url.openStream()); FileOutputStream fos = new FileOutputStream(nukkit); fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE);