diff options
Diffstat (limited to 'src/main/java/me/shedaniel/rei/utils/ClothScreenRegistry.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/utils/ClothScreenRegistry.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/me/shedaniel/rei/utils/ClothScreenRegistry.java b/src/main/java/me/shedaniel/rei/utils/ClothScreenRegistry.java index e169a16fa..9ba1d8c7d 100644 --- a/src/main/java/me/shedaniel/rei/utils/ClothScreenRegistry.java +++ b/src/main/java/me/shedaniel/rei/utils/ClothScreenRegistry.java @@ -38,7 +38,9 @@ public class ClothScreenRegistry { } catch (IOException | FiberException e) { e.printStackTrace(); } - }).registerNodeEntryFunction(ItemListOrderingConfig.class, o -> { + }).hideTreeEntry( + configManager.getConfig().getOverlayVisibleNode() + ).registerNodeEntryFunction(ItemListOrderingConfig.class, o -> { ConfigValue<ItemListOrderingConfig> configValue = (ConfigValue<ItemListOrderingConfig>) o; return configEntryBuilder.startEnumSelector("config.roughlyenoughitems." + configValue.getName(), ItemListOrderingConfig.class, configValue.getValue()) .setDefaultValue(configValue.getDefaultValue()) |
