1
1
mirror of https://github.com/geekfrog/PermissionsTime.git synced 2025-09-06 11:06:58 +00:00

不再保存配置文件 语言整理

This commit is contained in:
2017-07-27 01:13:02 +08:00
parent 2523df87e1
commit 4b1b998237
16 changed files with 88 additions and 61 deletions

View File

@ -74,8 +74,11 @@ public class ConfigManager {
@Override
public boolean isProcess(String fileName) {
if (fileName.matches("lang/.+\\.yml")) {
return true;
if (fileName.matches("lang/.+\\.yml") || "config.yml".equals(fileName) || "packages.yml".equals(fileName)) {
File f = new File(pm.getDataFolder(), fileName);
if (!f.exists()) {
return true;
}
}
return false;
}