Skip to content

Commit 9d31362

Browse files
author
IMS212
committed
Default to true, not false
1 parent eb3a26c commit 9d31362

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/net/coderbot/iris/shaderpack/option/values/OptionValues.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ public interface OptionValues {
1313
default boolean getBooleanValueOrDefault(String name) {
1414
return getBooleanValue(name).orElseGet(() -> {
1515
if (!getOptionSet().getBooleanOptions().containsKey(name)) {
16-
Iris.logger.warn("Tried to get boolean value for unknown option: " + name + ", defaulting to false!");
17-
return false;
16+
Iris.logger.warn("Tried to get boolean value for unknown option: " + name + ", defaulting to true!");
17+
return true;
1818
}
1919
return getOptionSet().getBooleanOptions().get(name).getOption().getDefaultValue();
2020
});

0 commit comments

Comments
 (0)