forked from virt-mirrors/Sit
new YACL detection
This commit is contained in:
parent
cb394643c3
commit
87e0b4f59f
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ dependencies {
|
||||||
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
|
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
|
||||||
|
|
||||||
modImplementation "com.terraformersmc:modmenu:${project.modmenu_version}"
|
modImplementation "com.terraformersmc:modmenu:${project.modmenu_version}"
|
||||||
modImplementation ("dev.isxander.yacl:yet-another-config-lib-fabric:${project.yacl_version}")
|
modImplementation ("dev.isxander:yet-another-config-lib:${project.yacl_version}")
|
||||||
}
|
}
|
||||||
|
|
||||||
processResources {
|
processResources {
|
||||||
|
|
|
@ -207,7 +207,7 @@ public class ModMenu implements ModMenuApi {
|
||||||
*/
|
*/
|
||||||
public static boolean yaclCheck() {
|
public static boolean yaclCheck() {
|
||||||
try {
|
try {
|
||||||
Class.forName("dev.isxander.yacl3.platform.fabric.YACLPlatformImpl");
|
Class.forName("dev.isxander.yacl3.platform.Env");
|
||||||
return true;
|
return true;
|
||||||
} catch (ClassNotFoundException e) {
|
} catch (ClassNotFoundException e) {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue