diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/util/TextureUtil.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/util/TextureUtil.java index 7c4e7137b7..2c140d86a2 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/util/TextureUtil.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/util/TextureUtil.java @@ -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; }