mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-25 14:44:35 +00:00
20 lines
473 B
Java
20 lines
473 B
Java
package team.chisel.ctmlib;
|
|
|
|
import cpw.mods.fml.common.ModAPIManager;
|
|
import team.chisel.Tags;
|
|
|
|
public class CTMLib {
|
|
|
|
public static final String VERSION = Tags.VERSION;
|
|
|
|
private static boolean chiselPresent, chiselInitialized;
|
|
|
|
public static boolean chiselLoaded() {
|
|
if (!chiselInitialized) {
|
|
chiselInitialized = true;
|
|
chiselPresent = ModAPIManager.INSTANCE.hasAPI("ChiselAPI");
|
|
}
|
|
return chiselPresent;
|
|
}
|
|
}
|