aboutsummaryrefslogtreecommitdiff
path: root/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2020-08-08 18:25:12 +0800
committershedaniel <daniel@shedaniel.me>2020-08-08 18:25:12 +0800
commit2e4f4b41332474e1610af8e4e83b24b44eea83bc (patch)
tree22b4ae194b84f5d5e6e463b7d3ca7bde22f278c0 /RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java
parent8a2df51193fd3db145f3b1ace974e9e0a0bc09a5 (diff)
downloadRoughlyEnoughItems-2e4f4b41332474e1610af8e4e83b24b44eea83bc.tar.gz
RoughlyEnoughItems-2e4f4b41332474e1610af8e4e83b24b44eea83bc.tar.bz2
RoughlyEnoughItems-2e4f4b41332474e1610af8e4e83b24b44eea83bc.zip
Fix duplicate mod id with hwyla
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java')
-rw-r--r--RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java b/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java
index 62fb8328e..3bc546295 100644
--- a/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java
+++ b/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java
@@ -442,7 +442,7 @@ public class RecipeViewingScreen extends Screen implements RecipeScreen {
matrices.push();
matrices.translate(0.0D, 0.0D, 480);
Matrix4f matrix4f = matrices.peek().getModel();
- textRenderer.draw(text.method_30937(), bounds.getCenterX() - textRenderer.getWidth(text) / 2f, bounds.getCenterY() - 4.5f, 0xff000000, false, matrix4f, immediate, false, 0, 15728880);
+ textRenderer.draw(text.asOrderedText(), bounds.getCenterX() - textRenderer.getWidth(text) / 2f, bounds.getCenterY() - 4.5f, 0xff000000, false, matrix4f, immediate, false, 0, 15728880);
immediate.draw();
matrices.pop();
} else {