We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60deb88 commit 017ce33Copy full SHA for 017ce33
core/src/main/java/de/bluecolored/bluemap/core/resources/pack/resourcepack/ResourcePack.java
@@ -223,8 +223,7 @@ private void loadResources(Path root) throws IOException {
223
CompletableFuture.runAsync(() -> {
224
list(root.resolve("assets"))
225
.map(path -> path.resolve("models"))
226
- .flatMap(ResourcePack::list)
227
- .filter(path -> !path.getFileName().toString().equals("item"))
+ .filter(Files::isDirectory)
228
.flatMap(ResourcePack::walk)
229
.filter(path -> path.getFileName().toString().endsWith(".json"))
230
.filter(Files::isRegularFile)
0 commit comments