aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/utils/ClothScreenRegistry.java
diff options
context:
space:
mode:
authorgeni <me@geni.site>2019-04-13 18:58:28 +0300
committerDaniel She <shekwancheung0528@gmail.com>2019-04-13 23:58:28 +0800
commit71dde4ea55fd0833ab2eaecbe893617cb24682a1 (patch)
tree3802a98ce63ef9902ff7c2928762320e579c81bb /src/main/java/me/shedaniel/rei/utils/ClothScreenRegistry.java
parent4647ab5539755b3e17322d49fa765bf745815cfb (diff)
downloadRoughlyEnoughItems-71dde4ea55fd0833ab2eaecbe893617cb24682a1.tar.gz
RoughlyEnoughItems-71dde4ea55fd0833ab2eaecbe893617cb24682a1.tar.bz2
RoughlyEnoughItems-71dde4ea55fd0833ab2eaecbe893617cb24682a1.zip
Update gradle to 4.10.3, fix #59, fix some Intellij IDEA complaints (#60)
remove "debug" println-s remove stuff from testing update gradle to 4.10.3, fix #59, fix some Intellij IDEA complaints fix formatting update gradle to 4.10.3, fix #59, fix some Intellij IDEA complaints
Diffstat (limited to 'src/main/java/me/shedaniel/rei/utils/ClothScreenRegistry.java')
-rw-r--r--src/main/java/me/shedaniel/rei/utils/ClothScreenRegistry.java2
1 files changed, 1 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 b1ee7d8bf..90ebc8fac 100644
--- a/src/main/java/me/shedaniel/rei/utils/ClothScreenRegistry.java
+++ b/src/main/java/me/shedaniel/rei/utils/ClothScreenRegistry.java
@@ -51,7 +51,7 @@ public class ClothScreenRegistry {
builder.addCategory("text.rei.config.general").addOption(new BooleanListEntry("text.rei.config.cheating", RoughlyEnoughItemsCore.getConfigManager().getConfig().cheating, "text.cloth-config.reset_value", () -> false, bool -> RoughlyEnoughItemsCore.getConfigManager().getConfig().cheating = bool));
ConfigScreenBuilder.CategoryBuilder appearance = builder.addCategory("text.rei.config.appearance");
appearance.addOption(new BooleanListEntry("text.rei.config.side_search_box", RoughlyEnoughItemsCore.getConfigManager().getConfig().sideSearchField, "text.cloth-config.reset_value", () -> false, bool -> RoughlyEnoughItemsCore.getConfigManager().getConfig().sideSearchField = bool));
- appearance.addOption(new EnumListEntry<ItemListOrderingConfig>("text.rei.config.list_ordering", ItemListOrderingConfig.class, ItemListOrderingConfig.from(RoughlyEnoughItemsCore.getConfigManager().getConfig().itemListOrdering, RoughlyEnoughItemsCore.getConfigManager().getConfig().isAscending), "text.cloth-config.reset_value", () -> ItemListOrderingConfig.REGISTRY_ASCENDING, config -> {
+ appearance.addOption(new EnumListEntry<>("text.rei.config.list_ordering", ItemListOrderingConfig.class, ItemListOrderingConfig.from(RoughlyEnoughItemsCore.getConfigManager().getConfig().itemListOrdering, RoughlyEnoughItemsCore.getConfigManager().getConfig().isAscending), "text.cloth-config.reset_value", () -> ItemListOrderingConfig.REGISTRY_ASCENDING, config -> {
RoughlyEnoughItemsCore.getConfigManager().getConfig().itemListOrdering = config.getOrdering();
RoughlyEnoughItemsCore.getConfigManager().getConfig().isAscending = config.isAscending();
}));