    001package cpw.mods.fml.common.event;
    002
    003import net.minecraft.server.MinecraftServer;
    004import cpw.mods.fml.common.LoaderState.ModState;
    005
    006public class FMLServerAboutToStartEvent extends FMLStateEvent {
    007
    008    private MinecraftServer server;
    009
    010    public FMLServerAboutToStartEvent(Object... data)
    011    {
    012        super(data);
    013        this.server = (MinecraftServer) data[0];
    014    }
    015    @Override
    016    public ModState getModState()
    017    {
    018        return ModState.AVAILABLE;
    019    }
    020
    021    public MinecraftServer getServer()
    022    {
    023        return server;
    024    }
    025}