35 lines
946 B
Java
35 lines
946 B
Java
|
package com.massivecraft.factions.entity;
|
||
|
|
||
|
import com.massivecraft.factions.ConfServer;
|
||
|
import com.massivecraft.factions.Const;
|
||
|
import com.massivecraft.factions.Factions;
|
||
|
import com.massivecraft.mcore.MCore;
|
||
|
import com.massivecraft.mcore.store.Coll;
|
||
|
import com.massivecraft.mcore.store.MStore;
|
||
|
|
||
|
public class MConfColl extends Coll<MConf>
|
||
|
{
|
||
|
// -------------------------------------------- //
|
||
|
// INSTANCE & CONSTRUCT
|
||
|
// -------------------------------------------- //
|
||
|
|
||
|
private static MConfColl i = new MConfColl();
|
||
|
public static MConfColl get() { return i; }
|
||
|
private MConfColl()
|
||
|
{
|
||
|
super(Const.COLLECTION_BASENAME_MCONF, MConf.class, MStore.getDb(ConfServer.dburi), Factions.get(), true, false);
|
||
|
}
|
||
|
|
||
|
// -------------------------------------------- //
|
||
|
// OVERRIDE
|
||
|
// -------------------------------------------- //
|
||
|
|
||
|
@Override
|
||
|
public void init()
|
||
|
{
|
||
|
super.init();
|
||
|
this.get(MCore.INSTANCE);
|
||
|
}
|
||
|
|
||
|
}
|