38 lines
916 B
Java
38 lines
916 B
Java
package com.massivecraft.factions.entity;
|
|
|
|
import com.massivecraft.massivecore.MassiveCore;
|
|
import com.massivecraft.massivecore.store.Coll;
|
|
|
|
public class MConfColl extends Coll<MConf>
|
|
{
|
|
// -------------------------------------------- //
|
|
// INSTANCE & CONSTRUCT
|
|
// -------------------------------------------- //
|
|
|
|
private static MConfColl i = new MConfColl();
|
|
public static MConfColl get() { return i; }
|
|
|
|
// -------------------------------------------- //
|
|
// STACK TRACEABILITY
|
|
// -------------------------------------------- //
|
|
|
|
@Override
|
|
public void onTick()
|
|
{
|
|
super.onTick();
|
|
}
|
|
|
|
// -------------------------------------------- //
|
|
// OVERRIDE
|
|
// -------------------------------------------- //
|
|
|
|
@Override
|
|
public void setActive(boolean active)
|
|
{
|
|
super.setActive(active);
|
|
if ( ! active) return;
|
|
MConf.i = this.get(MassiveCore.INSTANCE, true);
|
|
}
|
|
|
|
}
|