mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-21 04:22:22 +00:00
33 lines
557 B
Java
33 lines
557 B
Java
package mantle.crash;
|
|
|
|
import net.minecraftforge.fml.common.ICrashCallable;
|
|
|
|
/**
|
|
* Crash Callable for supported environments.
|
|
*
|
|
* @author Sunstrike <[email protected]>
|
|
*/
|
|
public class CallableSuppConfig implements ICrashCallable
|
|
{
|
|
|
|
private String modId;
|
|
|
|
public CallableSuppConfig(String modId)
|
|
{
|
|
this.modId = modId;
|
|
}
|
|
|
|
@Override
|
|
public String call() throws Exception
|
|
{
|
|
return "Environment healthy.";
|
|
}
|
|
|
|
@Override
|
|
public String getLabel()
|
|
{
|
|
return this.modId + " Environment";
|
|
}
|
|
|
|
}
|