aboutsummaryrefslogtreecommitdiff
path: root/runtime/src
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2021-11-06 19:08:47 +0800
committershedaniel <daniel@shedaniel.me>2021-11-06 19:08:47 +0800
commitddab152ed614b14168373911aa239dd917c9621b (patch)
tree5b9769edcde3557c1cd07885e84639ab911613ec /runtime/src
parent7320342f4a5d499adfc0c50d2f19c69cbab3b1c6 (diff)
downloadRoughlyEnoughItems-ddab152ed614b14168373911aa239dd917c9621b.tar.gz
RoughlyEnoughItems-ddab152ed614b14168373911aa239dd917c9621b.tar.bz2
RoughlyEnoughItems-ddab152ed614b14168373911aa239dd917c9621b.zip
Fix weird text for recipe ids
Diffstat (limited to 'runtime/src')
-rw-r--r--runtime/src/main/java/me/shedaniel/rei/impl/client/gui/widget/InternalWidgets.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/src/main/java/me/shedaniel/rei/impl/client/gui/widget/InternalWidgets.java b/runtime/src/main/java/me/shedaniel/rei/impl/client/gui/widget/InternalWidgets.java
index 27e9e79a5..ca8b15437 100644
--- a/runtime/src/main/java/me/shedaniel/rei/impl/client/gui/widget/InternalWidgets.java
+++ b/runtime/src/main/java/me/shedaniel/rei/impl/client/gui/widget/InternalWidgets.java
@@ -183,7 +183,7 @@ public final class InternalWidgets {
if (!locations.isEmpty()) {
str.add(new TextComponent(" "));
for (ResourceLocation location : locations) {
- String t = I18n.get("text.rei.recipe_id", "", new TextComponent(location.toString()).withStyle(ChatFormatting.GRAY));
+ String t = I18n.get("text.rei.recipe_id", "", location.toString());
if (t.startsWith("\n")) {
t = t.substring("\n".length());
}