mirror of
https://github.com/plexusorg/Module-HTTPD.git
synced 2024-12-21 23:45:03 +00:00
B R U H
This commit is contained in:
parent
a257fb2f9c
commit
e9395e193a
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ public class SchematicDownloadEndpoint extends AbstractServlet
|
|||
for (File worldeditFile : listFilesForFolder(worldeditFolder))
|
||||
{
|
||||
String fixedPath = worldeditFile.getPath().replace("plugins/FastAsyncWorldEdit/schematics/", "");
|
||||
fixedPath.replace("plugins/WorldEdit/schematics/", "");
|
||||
fixedPath = fixedPath.replace("plugins/WorldEdit/schematics/", "");
|
||||
String sanitizedName = fixedPath.replaceAll("<", "<").replaceAll(">", ">");
|
||||
sb.append(" <tr>\n" +
|
||||
" <th scope=\"row\">\n <a href=\"" + fixedPath + "\" download>" + sanitizedName + "</a>\n </th>\n" +
|
||||
|
|
Loading…
Reference in a new issue