mirror of
https://github.com/Oth3r/Sit.git
synced 2025-09-19 16:03:22 +02:00
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 "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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue