Class ConfigMigrator
java.lang.Object
tfagaming.projects.minecraft.homestead.resources.ConfigMigrator
Migrate any configuration settings from the ancient
This is a temporary solution that will be removed in the future.
config.yml (v5.0.2.2) to the new
resource files (v5.1.0.0).This is a temporary solution that will be removed in the future.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanmigrate()Runs the migration, returnstruewhen a change has happened.
-
Constructor Details
-
ConfigMigrator
-
-
Method Details
-
migrate
Runs the migration, returnstruewhen a change has happened.- Throws:
IOException- If saving any modified file fails.
-