mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-05 02:19:30 +01:00
Move log message about loading regions to proper location.
This commit is contained in:
parent
41268ca443
commit
44c4e5816f
@ -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);
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user