2013-04-22 09:37:53 +02:00
|
|
|
package com.massivecraft.factions.entity;
|
|
|
|
|
2014-06-04 14:02:23 +02:00
|
|
|
import com.massivecraft.massivecore.MassiveCore;
|
|
|
|
import com.massivecraft.massivecore.store.Coll;
|
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; }
|
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
|
2016-02-25 22:28:09 +01:00
|
|
|
public void setActive(boolean active)
|
2013-04-22 09:37:53 +02:00
|
|
|
{
|
2016-02-25 22:28:09 +01:00
|
|
|
super.setActive(active);
|
2017-03-12 17:55:01 +01:00
|
|
|
if (!active) return;
|
2014-06-04 14:02:23 +02:00
|
|
|
MConf.i = this.get(MassiveCore.INSTANCE, true);
|
2013-04-22 09:37:53 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|