Remove old pre-5.x migration routines from WorldGuardPlugin.

This commit is contained in:
sk89q 2012-11-17 16:34:28 -08:00
parent c3d3c1812f
commit 8a308cd521

View File

@ -166,17 +166,10 @@ public void run() {
PermissionsResolverManager.initialize(this);
// This must be done before configuration is loaded
LegacyWorldGuardMigration.migrateBlacklist(this);
// Load the configuration
configuration.load();
globalRegionManager.preload();
// Migrate regions after the regions were loaded because
// the migration code reuses the loaded region managers
LegacyWorldGuardMigration.migrateRegions(this);
// Register events
(new WorldGuardPlayerListener(this)).registerEvents();
(new WorldGuardBlockListener(this)).registerEvents();