Update Tools.java

This commit is contained in:
Duy Tran Khanh 2021-10-18 17:32:34 +07:00 committed by GitHub
parent d5ee9618fb
commit 0d9ac6a120
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -556,7 +556,9 @@ public final class Tools {
for (DependentLibrary libItem: info.libraries) {
if (libItem.rules != null) {
System.out.println("LIBRARY " +libItem.name+" rules NOT NULL");
for (JMinecraftVersionList.Arguments.ArgValue.ArgRules rule : libItem.rules) {
System.out.println("LIBRARY rule action " +rule.action+" OS "+ rule.os);
if (rule.action.equals("allow") && rule.os != null && rule.os.name.equals("osx")) {
continue;
}