mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-28 21:56:33 +01:00
*Wrong url
This commit is contained in:
parent
9c805f2de2
commit
52740d1e1c
@ -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++) {
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user