diff --git a/pom.xml b/pom.xml index 73a8cb8..63afa98 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 gg.frog.mc permissionstime - 0.2.0-SNAPSHOT + 0.2.1-SNAPSHOT jar PermissionsTime 支持跨服的权限限时插件 diff --git a/src/main/gg/frog/mc/permissionstime/config/ConfigManager.java b/src/main/gg/frog/mc/permissionstime/config/ConfigManager.java index 8db200d..e66047f 100644 --- a/src/main/gg/frog/mc/permissionstime/config/ConfigManager.java +++ b/src/main/gg/frog/mc/permissionstime/config/ConfigManager.java @@ -28,10 +28,7 @@ public class ConfigManager { public ConfigManager(PluginMain pm) { this.pm = pm; - File langFolder = new File(pm.getDataFolder(), "lang/"); - if (!langFolder.exists()) { - copyLangFilesFromJar(); - } + copyLangFilesFromJar(); // 添加到配置列表 cfgMap.put("plugin", new PluginCfg(pm)); cfgMap.put("lang", new LangCfg("lang/" + PluginCfg.LANG + ".yml", pm)); diff --git a/src/resources/plugin.yml b/src/resources/plugin.yml index aea4936..0a3375f 100644 --- a/src/resources/plugin.yml +++ b/src/resources/plugin.yml @@ -1,5 +1,5 @@ name: PermissionsTime -version: 0.2.0-SNAPSHOT +version: 0.2.1-SNAPSHOT main: gg.frog.mc.permissionstime.PluginMain author: GeekFrog softdepend: