Class WorldHeightMigration
java.lang.Object
com.sk89q.worldguard.protection.managers.migration.WorldHeightMigration
- All Implemented Interfaces:
Migration
-
Constructor Summary
ConstructorsConstructorDescriptionWorldHeightMigration
(RegionDriver driver, FlagRegistry flagRegistry, com.sk89q.worldedit.world.World world) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
migrate()
Execute the migration.protected void
migrate
(RegionDatabase store) Called for all the worlds in the driver.protected void
Called after migration has successfully completed.
-
Constructor Details
-
WorldHeightMigration
public WorldHeightMigration(RegionDriver driver, FlagRegistry flagRegistry, @Nullable com.sk89q.worldedit.world.World world)
-
-
Method Details
-
migrate
Called for all the worlds in the driver.- Parameters:
store
- the region store- Throws:
MigrationException
- on migration error
-
postMigration
protected void postMigration()Called after migration has successfully completed. -
migrate
Description copied from interface:Migration
Execute the migration.- Specified by:
migrate
in interfaceMigration
- Throws:
MigrationException
- thrown if the migration fails
-