mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-24 03:25:13 +01:00
Enable subplugins earlier
This commit is contained in:
parent
a7e926b44a
commit
6ce2b9c2d2
@ -220,6 +220,7 @@ public class Citizens extends JavaPlugin implements CitizensPlugin {
|
||||
setupEconomy();
|
||||
|
||||
registerCommands();
|
||||
enableSubPlugins();
|
||||
Messaging.logF("v%s enabled.", getDescription().getVersion());
|
||||
|
||||
// Setup NPCs after all plugins have been enabled (allows for multiworld
|
||||
@ -229,7 +230,6 @@ public class Citizens extends JavaPlugin implements CitizensPlugin {
|
||||
public void run() {
|
||||
saves.loadInto(npcRegistry);
|
||||
startMetrics();
|
||||
enableSubPlugins();
|
||||
scheduleSaveTask(Setting.SAVE_TASK_DELAY.asInt());
|
||||
Bukkit.getPluginManager().callEvent(new CitizensEnableEvent());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user