Skip to content

Commit

Permalink
Fix PluginPackResources#getResources error on some filesystems (#3736)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeregorix authored Aug 16, 2022
1 parent a313aa2 commit 8d2aea1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public Collection<ResourceLocation> getResources(final PackType type, final Stri
final Predicate<String> fileNameValidator) {
try {
final Path root = this.typeRoot(type);
final Path namespaceDir = root.resolve(namespace);
final Path namespaceDir = root.resolve(namespace).toAbsolutePath();
return Files.walk(namespaceDir, depth)
.filter(Files::isRegularFile)
.filter(s -> !s.getFileName().toString().endsWith(".mcmeta"))
Expand Down

0 comments on commit 8d2aea1

Please sign in to comment.