enabledOptional

This commit is contained in:
Gravit 2018-11-06 19:14:08 +07:00
parent 72701e0775
commit 4a74816634
No known key found for this signature in database
GPG key ID: 061981E1E85D3216
13 changed files with 13 additions and 0 deletions

View file

@ -22,6 +22,7 @@ updateVerify: [
];
updateExclusions: [];
updateOptional: [];
enabledOptional: [];
useWhitelist: false;
whitelist: [];

View file

@ -22,6 +22,7 @@ updateVerify: [
];
updateExclusions: [];
updateOptional: [];
enabledOptional: [];
useWhitelist: false;
whitelist: [];

View file

@ -22,6 +22,7 @@ updateVerify: [
];
updateExclusions: [];
updateOptional: [];
enabledOptional: [];
useWhitelist: false;
whitelist: [];

View file

@ -22,6 +22,7 @@ updateVerify: [
];
updateExclusions: [];
updateOptional: [];
enabledOptional: [];
# Client launcher params
mainClass: "net.minecraft.client.main.Main";

View file

@ -22,6 +22,7 @@ updateVerify: [
];
updateExclusions: [];
updateOptional: [];
enabledOptional: [];
# Client launcher params
mainClass: "net.minecraft.client.main.Main";

View file

@ -21,6 +21,7 @@ updateVerify: [
];
updateExclusions: [];
updateOptional: [];
enabledOptional: [];
useWhitelist: false;
whitelist: [];

View file

@ -21,6 +21,7 @@ updateVerify: [
];
updateExclusions: [];
updateOptional: [];
enabledOptional: [];
useWhitelist: false;
whitelist: [];

View file

@ -22,6 +22,7 @@ updateVerify: [
];
updateExclusions: [];
updateOptional: [];
enabledOptional: [];
useWhitelist: false;
whitelist: [];

View file

@ -26,6 +26,7 @@ updateExclusions: [
# "mods/railcraft"
];
updateOptional: [];
enabledOptional: [];
useWhitelist: false;
whitelist: [];

View file

@ -22,6 +22,7 @@ updateVerify: [
];
updateExclusions: [];
updateOptional: [];
enabledOptional: [];
useWhitelist: false;
whitelist: [];

View file

@ -22,6 +22,7 @@ updateVerify: [
];
updateExclusions: [];
updateOptional: [];
enabledOptional: [];
useWhitelist: false;
whitelist: [];

View file

@ -22,6 +22,7 @@ updateVerify: [
];
updateExclusions: [];
updateOptional: [];
enabledOptional: [];
useWhitelist: false;
whitelist: [];

View file

@ -136,6 +136,7 @@ public ClientProfile(BlockConfigEntry block) {
block.getEntry("updateVerify", ListConfigEntry.class).stream(StringConfigEntry.class).forEach(updateVerify::add);
block.getEntry("updateOptional", ListConfigEntry.class).stream(StringConfigEntry.class).forEach(e -> updateOptional.add(new MarkedString(e)));
block.getEntry("updateExclusions", ListConfigEntry.class).stream(StringConfigEntry.class).forEach(updateExclusions::add);
block.getEntry("enabledOptional", ListConfigEntry.class).stream(StringConfigEntry.class).forEach(e -> updateOptional.stream().anyMatch(e1 -> e.equals(e1.string) && (e1.mark = true)));
updateFastCheck = block.getEntry("updateFastCheck", BooleanConfigEntry.class);
useWhitelist = block.getEntry("useWhitelist", BooleanConfigEntry.class);