aboutsummaryrefslogtreecommitdiff
path: root/fabric/src
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2022-04-11 15:34:39 +0800
committershedaniel <daniel@shedaniel.me>2022-04-13 23:43:31 +0800
commit4d57b057683e3152f8ff95ec289bdc9c682dad05 (patch)
tree2dba76d4b3b36092a809695afb8c0b884a86781d /fabric/src
parentf0d7bae62780a85d026cd4cce57563361660947d (diff)
downloadRoughlyEnoughItems-4d57b057683e3152f8ff95ec289bdc9c682dad05.tar.gz
RoughlyEnoughItems-4d57b057683e3152f8ff95ec289bdc9c682dad05.tar.bz2
RoughlyEnoughItems-4d57b057683e3152f8ff95ec289bdc9c682dad05.zip
Fix #815
Diffstat (limited to 'fabric/src')
-rw-r--r--fabric/src/main/java/me/shedaniel/rei/impl/client/gui/fabric/ScreenOverlayImplImpl.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/fabric/src/main/java/me/shedaniel/rei/impl/client/gui/fabric/ScreenOverlayImplImpl.java b/fabric/src/main/java/me/shedaniel/rei/impl/client/gui/fabric/ScreenOverlayImplImpl.java
index 6c1e99251..b23df4c3a 100644
--- a/fabric/src/main/java/me/shedaniel/rei/impl/client/gui/fabric/ScreenOverlayImplImpl.java
+++ b/fabric/src/main/java/me/shedaniel/rei/impl/client/gui/fabric/ScreenOverlayImplImpl.java
@@ -35,7 +35,6 @@ import java.util.stream.Collectors;
public class ScreenOverlayImplImpl {
public static void renderTooltipInner(Screen screen, PoseStack matrices, Tooltip tooltip, int mouseX, int mouseY) {
matrices.pushPose();
- matrices.translate(0, 0, 500);
screen.renderTooltip(matrices, tooltip.getText().stream()
.flatMap(component -> {
return Minecraft.getInstance().font.getSplitter().splitLines(component, 100000, Style.EMPTY).stream()