mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-25 09:59:20 +00:00
忽略 'resources' 目录下 '.' 开头的文件夹
This commit is contained in:
@@ -280,8 +280,11 @@ public abstract class AbstractPackManager implements PackManager {
|
||||
this.plugin.logger().warn(path.toAbsolutePath() + " is not a directory");
|
||||
continue;
|
||||
}
|
||||
Path metaFile = path.resolve("pack.yml");
|
||||
String namespace = path.getFileName().toString();
|
||||
if (namespace.charAt(0) == '.') {
|
||||
continue;
|
||||
}
|
||||
Path metaFile = path.resolve("pack.yml");
|
||||
String description = null;
|
||||
String version = null;
|
||||
String author = null;
|
||||
|
||||
Reference in New Issue
Block a user