Fix migrator
This commit is contained in:
parent
05b632e8d5
commit
2a5f98e281
@ -26,6 +26,12 @@ public class MassiveCoreMConf extends Entity<MassiveCoreMConf>
|
||||
protected static transient MassiveCoreMConf i;
|
||||
public static MassiveCoreMConf get() { return i; }
|
||||
|
||||
// -------------------------------------------- //
|
||||
// VERSION
|
||||
// -------------------------------------------- //
|
||||
|
||||
public int version = 1;
|
||||
|
||||
// -------------------------------------------- //
|
||||
// ALIASES
|
||||
// -------------------------------------------- //
|
||||
|
@ -0,0 +1,23 @@
|
||||
package com.massivecraft.massivecore.entity.migrator;
|
||||
|
||||
import com.massivecraft.massivecore.MassiveCoreMConf;
|
||||
import com.massivecraft.massivecore.store.migrator.MigratorFieldRename;
|
||||
import com.massivecraft.massivecore.store.migrator.MigratorRoot;
|
||||
|
||||
public class MigratorMassiveCoreMConf001CleanInactivity extends MigratorRoot
|
||||
{
|
||||
// -------------------------------------------- //
|
||||
// INSTANCE & CONSTRUCT
|
||||
// -------------------------------------------- //
|
||||
|
||||
private static MigratorMassiveCoreMConf001CleanInactivity i = new MigratorMassiveCoreMConf001CleanInactivity();
|
||||
public static MigratorMassiveCoreMConf001CleanInactivity get() { return i; }
|
||||
private MigratorMassiveCoreMConf001CleanInactivity()
|
||||
{
|
||||
super(MassiveCoreMConf.class);
|
||||
this.addInnerMigrator(MigratorFieldRename.get("playercleanPeriodMillis", "cleanTaskPeriodMillis"));
|
||||
this.addInnerMigrator(MigratorFieldRename.get("playercleanOffsetMillis", "cleanTaskOffsetMillis"));
|
||||
this.addInnerMigrator(MigratorFieldRename.get("playercleanLastMillis", "cleanTaskLastMillis"));
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user