}
private static File syncAssets (File assetDir, String indexName) throws JsonSyntaxException, JsonIOException, IOException {
Logger.logInfo("Syncing Assets:");
final File objects = new File(assetDir, "objects");
AssetIndex index = JsonFactory.loadAssetIndex(new File(assetDir, "indexes/{INDEX}.json".replace("{INDEX}", indexName)));
if (!index.virtual) {
return assetDir;
}