mirror of
https://github.com/GeyserMC/PackConverter.git
synced 2025-12-20 15:29:15 +00:00
Clean up logging a little
This commit is contained in:
@@ -104,16 +104,12 @@ public final class VanillaPackProvider {
|
|||||||
ASSET_MAP.put(entry.getKey(), asset);
|
ASSET_MAP.put(entry.getKey(), asset);
|
||||||
}
|
}
|
||||||
|
|
||||||
log.info("Vanilla jar file found! Downloading vanilla jar...");
|
log.info("Downloading vanilla jar...");
|
||||||
|
|
||||||
PathUtils.copyFile(new URL(clientJarInfo.url), path);
|
PathUtils.copyFile(new URL(clientJarInfo.url), path);
|
||||||
|
|
||||||
log.info("Downloaded vanilla jar successfully!");
|
|
||||||
|
|
||||||
log.info("Removing unneeded assets from the vanilla jar...");
|
|
||||||
// Clean the jar
|
// Clean the jar
|
||||||
clean(path, log);
|
clean(path, log);
|
||||||
log.info("Removed unneeded assets from the vanilla jar!");
|
log.info("Downloaded vanilla jar!");
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
log.error("Error downloading vanilla jar", e);
|
log.error("Error downloading vanilla jar", e);
|
||||||
}
|
}
|
||||||
@@ -186,8 +182,6 @@ public final class VanillaPackProvider {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
log.info("Applying assets...");
|
|
||||||
|
|
||||||
for (Map.Entry<String, Asset> asset : ASSET_MAP.entrySet()) {
|
for (Map.Entry<String, Asset> asset : ASSET_MAP.entrySet()) {
|
||||||
String bytes2 = asset.getValue().hash.substring(0, 2);
|
String bytes2 = asset.getValue().hash.substring(0, 2);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user