From 52740d1e1c154c18d6afcfcba20d82a0acbb6604 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Sun, 5 Mar 2017 01:36:34 +1100 Subject: [PATCH] *Wrong url --- build.gradle | 2 +- .../main/java/com/sk89q/worldedit/command/BrushCommands.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 4e13926e..60a9bb97 100644 --- a/build.gradle +++ b/build.gradle @@ -28,7 +28,7 @@ ext { date = git.head().date.format("yy.MM.dd") revision = "-${git.head().abbreviatedId}" parents = git.head().parentIds; - index = -77; // Offset to mach CI + index = -78; // Offset to mach CI int major, minor, patch; major = minor = patch = 0; for (;parents != null && !parents.isEmpty();index++) { diff --git a/core/src/main/java/com/sk89q/worldedit/command/BrushCommands.java b/core/src/main/java/com/sk89q/worldedit/command/BrushCommands.java index 2c7e78ca..333eac9a 100644 --- a/core/src/main/java/com/sk89q/worldedit/command/BrushCommands.java +++ b/core/src/main/java/com/sk89q/worldedit/command/BrushCommands.java @@ -235,7 +235,7 @@ public class BrushCommands { WorldData worldData = player.getWorld().getWorldData(); if (filename.startsWith("http")) { URL url = new URL(filename); - URL webInterface = new URL(Settings.IMP.WEB.URL); + URL webInterface = new URL(Settings.IMP.WEB.ASSETS); if (!url.getHost().equalsIgnoreCase(webInterface.getHost())) { BBC.WEB_UNAUTHORIZED.send(player, url); return;