Update Tools.java

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

View File

@ -558,7 +558,7 @@ public final class Tools {
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);
System.out.println("LIBRARY rule action " +rule.action+" OS "+ rule.os==null?"NULL":rule.os.name);
if (rule.action.equals("allow") && rule.os != null && rule.os.name.equals("osx")) {
continue;
}