diff --git a/src/me/ryanhamshire/GriefPrevention/GriefPrevention.java b/src/me/ryanhamshire/GriefPrevention/GriefPrevention.java index 162bded..051b829 100644 --- a/src/me/ryanhamshire/GriefPrevention/GriefPrevention.java +++ b/src/me/ryanhamshire/GriefPrevention/GriefPrevention.java @@ -200,6 +200,7 @@ public class GriefPrevention extends JavaPlugin { GriefPrevention.AddLogEntry("There appears to be some data on the hard drive. Migrating those data to the database..."); FlatFileDataStore flatFileStore = new FlatFileDataStore(); + this.dataStore = flatFileStore; flatFileStore.migrateData(databaseStore); GriefPrevention.AddLogEntry("Data migration process complete. Reloading data from the database..."); databaseStore.close();