1
0
mirror of https://github.com/SKCraft/Launcher.git synced 2025-02-17 01:51:24 +01:00

Add more debug messages in PackageBuilder.

This commit is contained in:
sk89q 2015-02-18 00:31:45 -08:00
parent 8cdf50ff77
commit 994175c5b7

View File

@ -97,6 +97,8 @@ public class PackageBuilder {
}
public void scan(File dir) throws IOException {
logSection("Scanning for .info.json files...");
FileInfoScanner scanner = new FileInfoScanner(mapper);
scanner.walk(dir);
for (FeaturePattern pattern : scanner.getPatterns()) {
@ -105,6 +107,8 @@ public class PackageBuilder {
}
public void addFiles(File dir, File destDir) throws IOException {
logSection("Adding files to modpack...");
ClientFileCollector collector = new ClientFileCollector(this.manifest, applicator, destDir);
collector.walk(dir);
}