mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-03-09 21:29:20 +01:00
Fix kit reloading (#1855)
This commit is contained in:
parent
0d634853b6
commit
fe7b6097c9
@ -21,13 +21,13 @@ public class Kits implements IConf {
|
||||
public Kits(final IEssentials essentials) {
|
||||
config = new EssentialsConf(new File(essentials.getDataFolder(), "kits.yml"));
|
||||
config.setTemplateName("/kits.yml");
|
||||
config.load();
|
||||
|
||||
kits = _getKits();
|
||||
reloadConfig();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void reloadConfig() {
|
||||
config.load();
|
||||
kits = _getKits();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user