mirror of
https://github.com/geekfrog/PermissionsTime.git
synced 2025-09-06 11:06:58 +00:00
语言文件释放修改
This commit is contained in:
@ -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));
|
||||
|
Reference in New Issue
Block a user