Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
aidant19 committed Jan 10, 2024
1 parent c258a75 commit 0052d8b
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions scripts/ajexport.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,22 +54,11 @@ function injectModelPackPaths(modelContent, paths) {
if (texture.path.includes('.minecraft')) {
const x = texture.path.split('assets')[1];
const newPath = `${paths[2]}/assets${x}`;
// consoleLogJson({
// texturePath: texture.path,
// afterAssets: x,
// newPath,
// });
texture.path = newPath;
} else if (texture.path.includes('resourcepack/assets')) {
const x = texture.path.split('resourcepack/assets')[1];
const resourcePackBase = paths[0].split('resourcepack')[0];
const newPath = `${resourcePackBase}resourcepack/assets${x}`;
// consoleLogJson({
// texturePath: texture.path,
// resourcePackBase,
// afterAssets: x,
// newPath,
// });
texture.path = newPath;
}
}
Expand Down

0 comments on commit 0052d8b

Please sign in to comment.