Move log message about loading regions to proper location.

This commit is contained in:
wizjany 2019-04-02 17:18:44 -04:00
parent 41268ca443
commit 44c4e5816f
2 changed files with 1 additions and 2 deletions

View File

@ -169,6 +169,7 @@ public void migrate(Migration migration) throws MigrationException {
* Try loading the region managers for all currently loaded worlds. * Try loading the region managers for all currently loaded worlds.
*/ */
protected void loadWorlds() { protected void loadWorlds() {
WorldGuard.logger.info("Loading region data...");
synchronized (lock) { synchronized (lock) {
for (World world : WorldEdit.getInstance().getPlatformManager().queryCapability(Capability.GAME_HOOKS).getWorlds()) { for (World world : WorldEdit.getInstance().getPlatformManager().queryCapability(Capability.GAME_HOOKS).getWorlds()) {
load(world); load(world);

View File

@ -154,8 +154,6 @@ public void onEnable() {
} }
}, 0L); }, 0L);
WorldGuard.logger.info("Loading region data...");
getServer().getScheduler().scheduleSyncRepeatingTask(this, sessionManager, BukkitSessionManager.RUN_DELAY, BukkitSessionManager.RUN_DELAY); getServer().getScheduler().scheduleSyncRepeatingTask(this, sessionManager, BukkitSessionManager.RUN_DELAY, BukkitSessionManager.RUN_DELAY);
// Register events // Register events