aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java')
-rw-r--r--src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java b/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java
index 910d1aeb5..12521e09e 100644
--- a/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java
+++ b/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java
@@ -130,6 +130,13 @@ public class ConfigObjectImpl implements ConfigObject {
.withName("disableRecipeBook")
.build();
+ private ConfigValue<Boolean> fixTabCloseContainer = ConfigValue.builder(Boolean.class)
+ .withParent(modules)
+ .withDefaultValue(false)
+ .withComment("Declares whether REI should fix closing container with tab.")
+ .withName("fixTabCloseContainer")
+ .build();
+
private ConfigValue<Boolean> clickableRecipeArrows = ConfigValue.builder(Boolean.class)
.withParent(appearance)
.withDefaultValue(true)
@@ -297,6 +304,11 @@ public class ConfigObjectImpl implements ConfigObject {
}
@Override
+ public boolean doesFixTabCloseContainer() {
+ return fixTabCloseContainer.getValue().booleanValue();
+ }
+
+ @Override
public boolean areClickableRecipeArrowsEnabled() {
return clickableRecipeArrows.getValue().booleanValue();
}