Convert the old data to our new data and move the old files.
Closes #24 but it probably has a few bugs or prisoners who were in cells are not any more, but I will only fix that if someone pursades me to.
This commit is contained in:
@ -50,7 +50,7 @@ public class JailMain extends JavaPlugin {
|
||||
//Try to load the old stuff before we load anything, esp the storage stuff
|
||||
LegacyManager lm = new LegacyManager(this);
|
||||
if(lm.doWeNeedToConvert()) {
|
||||
boolean converted = lm.loadOldData();
|
||||
boolean converted = lm.convertOldData();
|
||||
if(!converted) getLogger().severe("We was unable to convert some, or all, of the old data.");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user