Files
Factions/src/com/massivecraft/factions/spigot/SpigotFeatures.java
Olof Larsson c81d7d8794 Remove Maven
2015-01-19 09:58:25 +01:00

32 lines
718 B
Java

package com.massivecraft.factions.spigot;
public class SpigotFeatures
{
// -------------------------------------------- //
// STATIC FIELDS
// -------------------------------------------- //
// The "active" field is set from inside the EngineSpigot
private static boolean active = false;
public static boolean isActive() { return active; }
public static void setActive(boolean active) { SpigotFeatures.active = active; }
// -------------------------------------------- //
// ACTIVATE
// -------------------------------------------- //
public static void activate()
{
try
{
EngineSpigot.get().activate();
}
catch (Throwable t)
{
// ignored
}
}
}