|
@@ -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)
|
|
@@ -296,6 +303,11 @@ public class ConfigObjectImpl implements ConfigObject {
|
|
|
return disableRecipeBook.getValue().booleanValue();
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public boolean doesFixTabCloseContainer() {
|
|
|
+ return fixTabCloseContainer.getValue().booleanValue();
|
|
|
+ }
|
|
|
+
|
|
|
@Override
|
|
|
public boolean areClickableRecipeArrowsEnabled() {
|
|
|
return clickableRecipeArrows.getValue().booleanValue();
|