mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-25 14:44:35 +00:00
Merge CTMLib
This commit is contained in:
1 parent
83cd16061f
commit
e9e63d6fc5
14 files changed
+1739
-2
No files matched your search
@@ -0,0 +1,18 @@
|
||||
package team.chisel.ctmlib;
|
||||
|
||||
import cpw.mods.fml.common.ModAPIManager;
|
||||
|
||||
public class CTMLib {
|
||||
|
||||
public static final String VERSION = "GRADLETOKEN_VERSION";
|
||||
|
||||
private static boolean chiselPresent, chiselInitialized;
|
||||
|
||||
public static boolean chiselLoaded() {
|
||||
if (!chiselInitialized) {
|
||||
chiselInitialized = true;
|
||||
chiselPresent = ModAPIManager.INSTANCE.hasAPI("ChiselAPI");
|
||||
}
|
||||
return chiselPresent;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user