diff options
| author | geni <me@geni.site> | 2019-04-13 18:58:28 +0300 |
|---|---|---|
| committer | Daniel She <shekwancheung0528@gmail.com> | 2019-04-13 23:58:28 +0800 |
| commit | 71dde4ea55fd0833ab2eaecbe893617cb24682a1 (patch) | |
| tree | 3802a98ce63ef9902ff7c2928762320e579c81bb /src/main/java/me/shedaniel/rei/utils | |
| parent | 4647ab5539755b3e17322d49fa765bf745815cfb (diff) | |
| download | RoughlyEnoughItems-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')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/utils/ClothScreenRegistry.java | 2 |
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(); })); |
