Factions3/src/com/massivecraft/factions/entity/MConfColl.java

44 lines
1.1 KiB
Java
Raw Normal View History

2013-04-22 09:37:53 +02:00
package com.massivecraft.factions.entity;
import com.massivecraft.factions.Const;
import com.massivecraft.factions.Factions;
2014-06-04 14:02:23 +02:00
import com.massivecraft.massivecore.MassiveCore;
import com.massivecraft.massivecore.store.Coll;
import com.massivecraft.massivecore.store.MStore;
2013-04-22 09:37:53 +02:00
public class MConfColl extends Coll<MConf>
{
// -------------------------------------------- //
// INSTANCE & CONSTRUCT
// -------------------------------------------- //
private static MConfColl i = new MConfColl();
public static MConfColl get() { return i; }
private MConfColl()
{
2013-11-11 09:31:04 +01:00
super(Const.COLLECTION_MCONF, MConf.class, MStore.getDb(), Factions.get());
2013-04-22 09:37:53 +02:00
}
2015-02-02 00:25:29 +01:00
// -------------------------------------------- //
// STACK TRACEABILITY
// -------------------------------------------- //
@Override
public void onTick()
{
super.onTick();
}
2013-04-22 09:37:53 +02:00
// -------------------------------------------- //
// OVERRIDE
// -------------------------------------------- //
@Override
public void init()
{
super.init();
2014-06-04 14:02:23 +02:00
MConf.i = this.get(MassiveCore.INSTANCE, true);
2013-04-22 09:37:53 +02:00
}
}