1
0
mirror of https://e.coding.net/circlecloud/Residence.git synced 2025-11-24 21:46:16 +00:00

add init config...

Signed-off-by: 502647092 <jtb1@163.com>
This commit is contained in:
502647092
2015-09-01 18:05:28 +08:00
parent 3fec9f6871
commit ced48ef160
2 changed files with 6 additions and 1 deletions

View File

@@ -588,6 +588,11 @@ public class Residence extends JavaPlugin {
new VersionChecker(this);
}
@Override
public void onLoad() {
config = new FileConfig(this, "config.yml");
};
@Override
public void reloadConfig() {
config.reload();