diff options
| author | Unknown <shekwancheung0528@gmail.com> | 2019-05-08 18:45:08 +0800 |
|---|---|---|
| committer | Daniel She <shekwancheung0528@gmail.com> | 2019-05-08 18:45:59 +0800 |
| commit | 6017255b2b2704031a784eafd2bd720f1e7b8fc2 (patch) | |
| tree | 3e7b7111a28f8ef1a2cfeced04389a6c4f6dc9c2 /src/main/java/me/shedaniel/rei/utils/ClothScreenRegistry.java | |
| parent | 33ed36eff27c1a533dacb2fa73510687f119c12b (diff) | |
| download | RoughlyEnoughItems-6017255b2b2704031a784eafd2bd720f1e7b8fc2.tar.gz RoughlyEnoughItems-6017255b2b2704031a784eafd2bd720f1e7b8fc2.tar.bz2 RoughlyEnoughItems-6017255b2b2704031a784eafd2bd720f1e7b8fc2.zip | |
Removes Locale.ROOT
Diffstat (limited to 'src/main/java/me/shedaniel/rei/utils/ClothScreenRegistry.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/utils/ClothScreenRegistry.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/me/shedaniel/rei/utils/ClothScreenRegistry.java b/src/main/java/me/shedaniel/rei/utils/ClothScreenRegistry.java index 0bc54ba87..bf12b0325 100644 --- a/src/main/java/me/shedaniel/rei/utils/ClothScreenRegistry.java +++ b/src/main/java/me/shedaniel/rei/utils/ClothScreenRegistry.java @@ -17,7 +17,6 @@ import net.minecraft.client.gui.widget.ButtonWidget; import net.minecraft.client.resource.language.I18n; import java.io.IOException; -import java.util.Locale; import java.util.Optional; public class ClothScreenRegistry { @@ -65,7 +64,7 @@ public class ClothScreenRegistry { appearance.addOption(new BooleanListEntry("text.rei.config.prefer_visible_recipes", RoughlyEnoughItemsCore.getConfigManager().getConfig().preferVisibleRecipes, RESET, () -> false, bool -> RoughlyEnoughItemsCore.getConfigManager().getConfig().preferVisibleRecipes = bool, () -> getConfigTooltip("prefer_visible_recipes"))); ConfigScreenBuilder.CategoryBuilder action = builder.addCategory("text.rei.config.action"); action.addOption(new EnumListEntry<>("text.rei.config.item_cheating_mode", ItemCheatingMode.class, RoughlyEnoughItemsCore.getConfigManager().getConfig().itemCheatingMode, RESET, () -> ItemCheatingMode.REI_LIKE, i -> RoughlyEnoughItemsCore.getConfigManager().getConfig().itemCheatingMode = i, e -> { - return I18n.translate("text.rei.config.item_cheating_mode." + e.name().toLowerCase(Locale.ROOT)); + return I18n.translate("text.rei.config.item_cheating_mode." + e.name().toLowerCase()); }, () -> getConfigTooltip("item_cheating_mode"))); action.addOption(new StringListEntry("text.rei.give_command", RoughlyEnoughItemsCore.getConfigManager().getConfig().giveCommand, RESET, () -> "/give {player_name} {item_identifier}{nbt} {count}", s -> RoughlyEnoughItemsCore.getConfigManager().getConfig().giveCommand = s, () -> getConfigTooltip("give_command"))); action.addOption(new StringListEntry("text.rei.gamemode_command", RoughlyEnoughItemsCore.getConfigManager().getConfig().gamemodeCommand, RESET, () -> "/gamemode {gamemode}", s -> RoughlyEnoughItemsCore.getConfigManager().getConfig().gamemodeCommand = s, () -> getConfigTooltip("gamemode_command"))); |
