Allow migration of Board
This commit is contained in:
parent
8536d3db7b
commit
2c1e72fa2b
@ -20,6 +20,7 @@ import com.massivecraft.factions.mixin.PowerMixin;
|
|||||||
import com.massivecraft.massivecore.MassivePlugin;
|
import com.massivecraft.massivecore.MassivePlugin;
|
||||||
import com.massivecraft.massivecore.collections.MassiveList;
|
import com.massivecraft.massivecore.collections.MassiveList;
|
||||||
import com.massivecraft.massivecore.command.type.RegistryType;
|
import com.massivecraft.massivecore.command.type.RegistryType;
|
||||||
|
import com.massivecraft.massivecore.store.migrator.MigratorUtil;
|
||||||
import com.massivecraft.massivecore.util.MUtil;
|
import com.massivecraft.massivecore.util.MUtil;
|
||||||
import com.massivecraft.massivecore.xlib.gson.GsonBuilder;
|
import com.massivecraft.massivecore.xlib.gson.GsonBuilder;
|
||||||
import org.bukkit.ChatColor;
|
import org.bukkit.ChatColor;
|
||||||
@ -73,6 +74,8 @@ public class Factions extends MassivePlugin
|
|||||||
// TODO: Perhaps this should be placed in the econ integration somewhere?
|
// TODO: Perhaps this should be placed in the econ integration somewhere?
|
||||||
MUtil.registerExtractor(String.class, "accountId", ExtractorFactionAccountId.get());
|
MUtil.registerExtractor(String.class, "accountId", ExtractorFactionAccountId.get());
|
||||||
|
|
||||||
|
MigratorUtil.addJsonRepresentation(Board.class, Board.MAP_TYPE);
|
||||||
|
|
||||||
// Activate
|
// Activate
|
||||||
this.activateAuto();
|
this.activateAuto();
|
||||||
this.activate(this.getClassesActive("chat", ChatActive.class));
|
this.activate(this.getClassesActive("chat", ChatActive.class));
|
||||||
|
Loading…
Reference in New Issue
Block a user