package com.massivecraft.factions.entity; import com.massivecraft.factions.Const; import com.massivecraft.factions.Factions; import com.massivecraft.massivecore.MassiveCore; import com.massivecraft.massivecore.store.Coll; import com.massivecraft.massivecore.store.MStore; public class MConfColl extends Coll { // -------------------------------------------- // // INSTANCE & CONSTRUCT // -------------------------------------------- // private static MConfColl i = new MConfColl(); public static MConfColl get() { return i; } private MConfColl() { super(Const.COLLECTION_MCONF, MConf.class, MStore.getDb(), Factions.get()); } // -------------------------------------------- // // OVERRIDE // -------------------------------------------- // @Override public void init() { super.init(); MConf.i = this.get(MassiveCore.INSTANCE, true); } }