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;