fix the discovery of mods in the mods folder
All checks were successful
Publish to snapshot maven / build (push) Successful in 16s
All checks were successful
Publish to snapshot maven / build (push) Successful in 16s
This commit is contained in:
parent
9eabb5c59d
commit
e13683d215
|
@ -18,7 +18,7 @@ public class Discovery {
|
|||
|
||||
@Override
|
||||
public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) throws IOException {
|
||||
if (directoryFilter.test(dir)) {
|
||||
if (dir.equals(start) || directoryFilter.test(dir)) {
|
||||
return super.preVisitDirectory(dir, attrs);
|
||||
}
|
||||
return FileVisitResult.SKIP_SUBTREE;
|
||||
|
|
Loading…
Reference in a new issue