Fix marketplace showing incompatible add-ons by default (#4182)

Signed-off-by: Jan N. Klug <github@klug.nrw>
4.1.x
J-N-K 2024-04-14 16:11:38 +02:00 committed by Wouter Born
parent 326e3d3f60
commit 5366a02bf7
No known key found for this signature in database
GPG Key ID: A58E5C231E0E72B5
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ public abstract class AbstractRemoteAddonService implements AddonService {
Dictionary<String, Object> properties = configuration.getProperties();
if (properties == null) {
// if we can't determine a set property, we use false (default is show compatible only)
return true;
return false;
}
return ConfigParser.valueAsOrElse(properties.get(CONFIG_INCLUDE_INCOMPATIBLE), Boolean.class, false);
} catch (IOException e) {