Skip to content

Commit

Permalink
chore: make texture errors actually meaningful
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreSchwang committed Dec 23, 2024
1 parent 54451de commit c2e3124
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,8 @@ public void loadModTextures() throws IOException {
}
}
if (entry == null) {
LOGGER.error("Cannot find {} in {}", modelsDir, file);
final String[] dirs = Arrays.stream(modelsDir).map(s -> String.format(s, nameSpace, name)).toArray(String[]::new);
LOGGER.error("Cannot find {} in {}", dirs, file);
continue;
}

Expand Down

0 comments on commit c2e3124

Please sign in to comment.