new YACL detection

This commit is contained in:
Oth3r 2024-04-29 11:45:34 -05:00
commit 87e0b4f59f
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@ dependencies {
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_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 {

View file

@ -207,7 +207,7 @@ public class ModMenu implements ModMenuApi {
*/
public static boolean yaclCheck() {
try {
Class.forName("dev.isxander.yacl3.platform.fabric.YACLPlatformImpl");
Class.forName("dev.isxander.yacl3.platform.Env");
return true;
} catch (ClassNotFoundException e) {
return false;