Skip to content

Commit

Permalink
Removed TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
aidant19 committed Jan 10, 2024
1 parent a942895 commit c258a75
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/ajexport.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ function injectModelPackPaths(modelContent, paths) {
].datapack_mcmeta = paths[1];
for (const texture of f.textures) {
texture.path = texture.path.replaceAll('\\', '/');
// TODO this should maybe be regex?
if (texture.path.includes('.minecraft')) {
const x = texture.path.split('assets')[1];
const newPath = `${paths[2]}/assets${x}`;
Expand Down

0 comments on commit c258a75

Please sign in to comment.