Skip to content

Commit

Permalink
loosen restrictions
Browse files Browse the repository at this point in the history
  • Loading branch information
sisby-folk committed Aug 3, 2023
1 parent d0fc601 commit 248795b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ protected void apply(Map<Identifier, JsonElement> prepared, ResourceManager mana
return;
}
JsonObject moduleOptions = contents.getAsJsonObject();
if (!moduleOptions.has(KEY_ICON) || (!moduleOptions.has(KEY_VALUES) && !moduleOptions.has(KEY_CONDITION))) {
if (!moduleOptions.has(KEY_ICON)) {
SwitchyCardinalClient.LOGGER.warn("[Switchy Cardinal UI] module '{}' is missing options, skipping...", moduleId);
return;
}
Expand Down

0 comments on commit 248795b

Please sign in to comment.