Update default WorldEdit jar

This commit is contained in:
Jesse Boyd 2017-02-18 20:54:15 +11:00
parent adaac51b36
commit 84af1bf65a
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ ext {
date = git.head().date.format("yy.MM.dd")
revision = "-${git.head().abbreviatedId}"
parents = git.head().parentIds;
index = -71; // Offset to mach CI
index = -73; // Offset to mach CI
int major, minor, patch;
major = minor = patch = 0;
for (;parents != null && !parents.isEmpty();index++) {

View File

@ -94,7 +94,7 @@ public class FaweBukkit implements IFawe, Listener {
if (Bukkit.getPluginManager().getPlugin("WorldEdit") == null) {
try {
File output = new File(getDirectory().getParentFile(), "WorldEdit.jar");
URL worldEditUrl = new URL("http://builds.enginehub.org/job/worldedit/9611/download/worldedit-bukkit-6.1.7-SNAPSHOT-dist.jar");
URL worldEditUrl = new URL("http://builds.enginehub.org/job/worldedit/9672/download/worldedit-bukkit-6.1.7-SNAPSHOT-dist.jar");
try (ReadableByteChannel rbc = Channels.newChannel(worldEditUrl.openStream())) {
try (FileOutputStream fos = new FileOutputStream(output)) {
fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE);