Separated the Classic Datapack to it's own folder.

This commit is contained in:
MobiusDev
2015-05-02 03:45:56 +00:00
parent 08e28fe058
commit 484bff80bb
11501 changed files with 2200482 additions and 627 deletions

View File

@ -114,8 +114,7 @@ public class HtmCache
return null;
}
String relpath = Util.getRelativePath(Config.DATAPACK_ROOT, file);
relpath = relpath.replace("_classic", ""); // html files and folders should not contain "_classic" to avoid problems.
final String relpath = Util.getRelativePath(Config.DATAPACK_ROOT, file);
String content = null;
try (FileInputStream fis = new FileInputStream(file);
BufferedInputStream bis = new BufferedInputStream(fis))