diff options
| author | Unknown <shekwancheung0528@gmail.com> | 2019-08-18 18:42:19 +0800 |
|---|---|---|
| committer | Unknown <shekwancheung0528@gmail.com> | 2019-08-18 18:42:19 +0800 |
| commit | d9df40442f9d4ea5277ea4f36f36042073a85f52 (patch) | |
| tree | 41a5e418ac133e7e66fd3f3730b0fa24cc5e178b /src/main/java/me/shedaniel/rei/gui/widget/AutoCraftingButtonWidget.java | |
| parent | b6f36732c933c6d406d730e11cd3b7ed390b95ae (diff) | |
| download | RoughlyEnoughItems-d9df40442f9d4ea5277ea4f36f36042073a85f52.tar.gz RoughlyEnoughItems-d9df40442f9d4ea5277ea4f36f36042073a85f52.tar.bz2 RoughlyEnoughItems-d9df40442f9d4ea5277ea4f36f36042073a85f52.zip | |
Close #135
Diffstat (limited to 'src/main/java/me/shedaniel/rei/gui/widget/AutoCraftingButtonWidget.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/gui/widget/AutoCraftingButtonWidget.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/me/shedaniel/rei/gui/widget/AutoCraftingButtonWidget.java b/src/main/java/me/shedaniel/rei/gui/widget/AutoCraftingButtonWidget.java index d75f064ef..6430708cb 100644 --- a/src/main/java/me/shedaniel/rei/gui/widget/AutoCraftingButtonWidget.java +++ b/src/main/java/me/shedaniel/rei/gui/widget/AutoCraftingButtonWidget.java @@ -143,10 +143,10 @@ public class AutoCraftingButtonWidget extends ButtonWidget { if (errorTooltip == null) return Optional.ofNullable(I18n.translate("text.auto_craft.move_items") + extraTooltip); else - return Optional.ofNullable("§c" + I18n.translate(errorTooltip) + extraTooltip); + return Optional.ofNullable(Formatting.RED.toString() + I18n.translate(errorTooltip) + extraTooltip); if (errorTooltip == null) return Optional.ofNullable(I18n.translate("text.auto_craft.move_items")); else - return Optional.ofNullable("§c" + I18n.translate(errorTooltip)); + return Optional.ofNullable(Formatting.RED.toString() + I18n.translate(errorTooltip)); } } |
