mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-12 04:20:41 +00:00
Make 'manload' reload the config correctly.
This commit is contained in:
parent
0670ece7f3
commit
ba346bd797
2 changed files with 11 additions and 10 deletions
|
@ -146,3 +146,4 @@ v 1.9:
|
||||||
- Removed BukkitPermsOverride as this is now the default with bukkit handling child nodes.
|
- Removed BukkitPermsOverride as this is now the default with bukkit handling child nodes.
|
||||||
- Prevent adding inheritances and info nodes to globalgroups. These are permissions collections, not player groups.
|
- Prevent adding inheritances and info nodes to globalgroups. These are permissions collections, not player groups.
|
||||||
- Prevent promoting players to, and demoting to GlobalGroups.
|
- Prevent promoting players to, and demoting to GlobalGroups.
|
||||||
|
- Make 'manload' reload the config correctly.
|
|
@ -121,7 +121,7 @@ public class GroupManager extends JavaPlugin {
|
||||||
ch = new GMLoggerHandler();
|
ch = new GMLoggerHandler();
|
||||||
GroupManager.logger.addHandler(ch);
|
GroupManager.logger.addHandler(ch);
|
||||||
logger.setLevel(Level.ALL);
|
logger.setLevel(Level.ALL);
|
||||||
if (worldsHolder == null) {
|
|
||||||
// Create the backup folder, if it doesn't exist.
|
// Create the backup folder, if it doesn't exist.
|
||||||
prepareFileFields();
|
prepareFileFields();
|
||||||
// Load the config.yml
|
// Load the config.yml
|
||||||
|
@ -129,7 +129,7 @@ public class GroupManager extends JavaPlugin {
|
||||||
// Load the global groups
|
// Load the global groups
|
||||||
globalGroups = new GlobalGroups(this);
|
globalGroups = new GlobalGroups(this);
|
||||||
worldsHolder = new WorldsHolder(this);
|
worldsHolder = new WorldsHolder(this);
|
||||||
}
|
|
||||||
|
|
||||||
PluginDescriptionFile pdfFile = this.getDescription();
|
PluginDescriptionFile pdfFile = this.getDescription();
|
||||||
if (worldsHolder == null) {
|
if (worldsHolder == null) {
|
||||||
|
|
Loading…
Reference in a new issue