From b7f8fc61dcaa6d202809651d46cf0946b63beef7 Mon Sep 17 00:00:00 2001 From: shedaniel Date: Sat, 17 Oct 2020 12:10:15 +0800 Subject: Close #423 Signed-off-by: shedaniel --- .../src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java') diff --git a/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java b/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java index 0be9b9e12..ba9b7701e 100644 --- a/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java +++ b/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java @@ -328,11 +328,15 @@ public class ConfigObjectImpl implements ConfigObject, ConfigData { } @Override - @ApiStatus.Experimental public boolean isSubsetsEnabled() { return functionality.isSubsetsEnabled; } + @Override + public boolean isInventoryHighlightingAllowed() { + return functionality.allowInventoryHighlighting; + } + @Override public boolean shouldResizeDynamically() { return advanced.accessibility.resizeDynamically; @@ -404,6 +408,7 @@ public class ConfigObjectImpl implements ConfigObject, ConfigData { public static class Functionality { @Comment("Declares whether REI should remove the recipe book.") private boolean disableRecipeBook = false; @Comment("Declares whether subsets is enabled.") private boolean isSubsetsEnabled = false; + private boolean allowInventoryHighlighting = true; } public static class Advanced { -- cgit