Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-09 21:10:05 +01:00
Use format extension here
Dieser Commit ist enthalten in:
Ursprung
f849caf655
Commit
a4de4e1a65
@ -221,7 +221,7 @@ public class SchematicCommands extends MethodCommands {
|
|||||||
}
|
}
|
||||||
UUID uuid = UUID.fromString(filename.substring(4));
|
UUID uuid = UUID.fromString(filename.substring(4));
|
||||||
URL base = new URL(Settings.IMP.WEB.URL);
|
URL base = new URL(Settings.IMP.WEB.URL);
|
||||||
URL url = new URL(base, "uploads/" + uuid + ".schematic");
|
URL url = new URL(base, "uploads/" + uuid + "." + format.getPrimaryFileExtension());
|
||||||
ReadableByteChannel rbc = Channels.newChannel(url.openStream());
|
ReadableByteChannel rbc = Channels.newChannel(url.openStream());
|
||||||
in = Channels.newInputStream(rbc);
|
in = Channels.newInputStream(rbc);
|
||||||
uri = url.toURI();
|
uri = url.toURI();
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren